/* Biyu Web App - Custom Styles */

:root {
    --primary: #e88eb4;
    --primary-light: #f5c4d8;
    --primary-dark: #d66a9a;
    --primary-soft: #fdf2f6;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --text: #111827;
    --text-secondary: #374151;
    --text-muted: #4b5563;
    --background: #ffffff;
    --background-secondary: #f3f4f6;
    --border: #d1d5db;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ========================================
   OVERRIDE THEME PRIMARY COLOR TO PASTEL PINK
   ======================================== */

/* Primary buttons */
.btn-primary {
    --bs-btn-bg: #e88eb4 !important;
    --bs-btn-border-color: #e88eb4 !important;
    --bs-btn-hover-bg: #d66a9a !important;
    --bs-btn-hover-border-color: #d66a9a !important;
    --bs-btn-active-bg: #c75a8a !important;
    --bs-btn-active-border-color: #c75a8a !important;
    --bs-btn-focus-shadow-rgb: 232, 142, 180 !important;
    background-color: #e88eb4 !important;
    border-color: #e88eb4 !important;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #d66a9a !important;
    border-color: #d66a9a !important;
}

/* Outline primary buttons */
.btn-outline-primary {
    --bs-btn-color: #d66a9a !important;
    --bs-btn-border-color: #e88eb4 !important;
    --bs-btn-hover-bg: #e88eb4 !important;
    --bs-btn-hover-border-color: #e88eb4 !important;
    --bs-btn-hover-color: #fff !important;
    color: #d66a9a !important;
    border-color: #e88eb4 !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: #e88eb4 !important;
    border-color: #e88eb4 !important;
    color: #fff !important;
}

/* Soft primary buttons */
.btn-soft-primary {
    --bs-btn-bg: #fdf2f6 !important;
    --bs-btn-color: #d66a9a !important;
    --bs-btn-hover-bg: #fbe4ed !important;
    --bs-btn-hover-color: #c75a8a !important;
    background-color: #fdf2f6 !important;
    color: #d66a9a !important;
    border-color: #fdf2f6 !important;
}

.btn-soft-primary:hover {
    background-color: #fbe4ed !important;
    color: #c75a8a !important;
}

/* Background colors */
.bg-primary { background-color: #e88eb4 !important; }
.bg-soft-primary { background-color: #fdf2f6 !important; }
.bg-pale-primary { background-color: #fef7fa !important; }

/* Text colors */
.text-primary { color: #e88eb4 !important; }

/* Border colors */
.border-primary { border-color: #e88eb4 !important; }

/* ========================================
   SMALLER CTAs
   ======================================== */

.btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.65rem 1.5rem;
    font-size: 0.9375rem;
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* ========================================
   IMPROVED TEXT READABILITY - DARKER GRAYS
   ======================================== */

body {
    color: #111827;
}

.text-muted {
    color: #4b5563 !important;
}

.text-secondary {
    color: #374151 !important;
}

p {
    color: #374151;
}

.form-label {
    color: #1f2937;
    font-weight: 500;
}

.small, small {
    color: #4b5563;
}

/* Placeholder text */
::placeholder {
    color: #6b7280 !important;
    opacity: 1;
}

/* ========================================
   BETTER CONTAINER STYLING - SHADOWS & BORDERS
   ======================================== */

.card {
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
    border-radius: 0.75rem;
    background: #fff;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background-color: #fafafa;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background-color: #fafafa;
    border-top: 1px solid #e5e7eb;
}

/* List groups */
.list-group {
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.list-group-item {
    border-color: #e5e7eb;
    color: #374151;
}

.list-group-item:first-child {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.list-group-item:hover {
    background-color: #f9fafb;
}

.list-group-item-action:focus, .list-group-item-action:hover {
    background-color: #f9fafb;
}

/* ========================================
   FORM CONTROLS
   ======================================== */

.form-control, .form-select {
    border-color: #d1d5db;
    background-color: #fff;
    color: #111827;
    box-shadow: var(--shadow-sm);
}

.form-control:focus, .form-select:focus {
    border-color: #e88eb4;
    box-shadow: 0 0 0 0.2rem rgba(232, 142, 180, 0.25);
}

.form-check-input:checked {
    background-color: #e88eb4;
    border-color: #e88eb4;
}

.form-check-input:focus {
    border-color: #e88eb4;
    box-shadow: 0 0 0 0.2rem rgba(232, 142, 180, 0.25);
}

/* Range inputs */
.form-range::-webkit-slider-thumb {
    background: #e88eb4;
}

.form-range::-moz-range-thumb {
    background: #e88eb4;
}

.form-range::-webkit-slider-runnable-track {
    background: #e5e7eb;
}

/* ========================================
   FILTER SIDEBAR
   ======================================== */

.filters-sidebar,
.filter-card {
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

/* ========================================
   NAV TABS
   ======================================== */

.nav-tabs {
    border-bottom: 1px solid #e5e7eb;
}

.nav-tabs .nav-link {
    color: #4b5563;
    border: 1px solid transparent;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: #e88eb4;
    border-color: #e5e7eb #e5e7eb #fff;
    background-color: #fff;
}

.nav-tabs .nav-link:hover:not(.active) {
    border-color: #e5e7eb;
    background-color: #f9fafb;
    color: #374151;
}

.nav-tabs-basic .nav-link.active {
    color: #e88eb4;
    border-bottom: 2px solid #e88eb4;
}

/* Card header tabs */
.card-header-tabs {
    margin-bottom: -1px;
    border-bottom: none;
}

.card-header-tabs .nav-link {
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.75rem 1.25rem;
    margin-right: 0.25rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.2s ease;
}

.card-header-tabs .nav-link:hover:not(.active) {
    background-color: #fdf2f6;
    color: #e88eb4;
    border-color: #f5c4d8;
}

.card-header-tabs .nav-link.active {
    background-color: #fff;
    border-color: #e5e7eb;
    border-bottom: 1px solid #fff;
    color: #e88eb4;
    position: relative;
    z-index: 1;
}

.card-header-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
}

/* Nav pills */
.nav-pills .nav-link {
    color: #4b5563;
    font-weight: 500;
}

.nav-pills .nav-link.active {
    background: #e88eb4;
    color: #fff;
}

/* Sidebar links */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: #4b5563;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-radius: 0;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background-color: #fdf2f6;
    color: #e88eb4;
    border-left-color: #f5c4d8;
}

.sidebar-link.active {
    background-color: #fdf2f6;
    color: #e88eb4;
    border-left-color: #e88eb4;
}

.sidebar-link .badge {
    margin-left: auto;
}

/* ========================================
   BADGES
   ======================================== */

.badge.bg-primary {
    background-color: #e88eb4 !important;
}

.badge.bg-soft-primary {
    background-color: #fdf2f6 !important;
    color: #d66a9a !important;
}

.badge.bg-pale-primary {
    background-color: #fef7fa !important;
    color: #c75a8a !important;
}

.badge.bg-pale-ash {
    background-color: #f3f4f6 !important;
    color: #4b5563 !important;
}

/* ========================================
   DROPDOWN MENUS
   ======================================== */

.dropdown-menu {
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
}

.dropdown-item {
    color: #374151;
    font-weight: 400;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #fdf2f6;
    color: #d66a9a;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #fdf2f6;
    color: #e88eb4;
}

.dropdown-header {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.dropdown-divider {
    border-color: #e5e7eb;
}

/* ========================================
   LINKS
   ======================================== */

a {
    color: #e88eb4;
}

a:hover {
    color: #d66a9a;
}

.nav-link {
    color: #4b5563;
}

.nav-link:hover, .nav-link.active {
    color: #e88eb4;
}

/* ========================================
   ALERTS
   ======================================== */

.alert-primary {
    background-color: #fdf2f6;
    border-color: #f5c4d8;
    color: #9f4b72;
}

.alert-success {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.alert-danger {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-warning {
    background-color: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

/* ========================================
   PROGRESS BARS
   ======================================== */

.progress {
    background-color: #e5e7eb;
}

.progress-bar {
    background-color: #e88eb4;
}

/* ========================================
   AUTH PAGES
   ======================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e88eb4 0%, #d66a9a 100%);
}

.auth-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

.auth-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e88eb4;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-title {
    text-align: center;
    color: #4b5563;
    margin-bottom: 2rem;
}

/* ========================================
   MEMBER CARDS - Mobile App Style
   ======================================== */

.member-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background: white;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.member-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdf2f6 0%, #fbe4ed 100%);
}

.member-card-placeholder i {
    font-size: 4rem;
    color: #e88eb4;
}

.member-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(214, 106, 154, 0.9) 0%, rgba(232, 142, 180, 0.5) 50%, transparent 100%);
    pointer-events: none;
}

.member-card-online {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(34, 197, 94, 0.9);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.member-card-online i {
    font-size: 0.5rem;
}

.member-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    color: white;
    z-index: 1;
    text-align: center;
}

.member-card-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.member-card-location {
    font-size: 0.75rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.1rem;
}

.member-card-location i {
    font-size: 0.8rem;
}

.member-card-time {
    font-size: 0.7rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.member-card-score {
    font-size: 0.7rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.member-card-score i {
    color: #fff;
}

.lift {
    transition: transform 0.2s, box-shadow 0.2s;
}

.lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg) !important;
}

/* ========================================
   MESSAGING INTERFACE
   ======================================== */

.messaging-container {
    display: flex;
    height: calc(100vh - 200px);
    min-height: 500px;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.messaging-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 0.75rem 0.75rem 0 0;
    z-index: 10;
}

/* Sidebar */
.messaging-sidebar {
    width: 320px;
    min-width: 320px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.messaging-sidebar-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    background: #fdf2f6;
}

.messaging-conversations {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.conversation-item:hover {
    background: #f9fafb;
    color: inherit;
}

.conversation-item.active {
    background: #fdf2f6;
    border-left: 3px solid #e88eb4;
}

.conversation-item.unread {
    background: #fef7fa;
}

.conversation-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: 0.875rem;
    flex-shrink: 0;
}

.conversation-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.conversation-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #e88eb4 0%, #d66a9a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.conversation-avatar .online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #111827;
}

.conversation-item.unread .conversation-name {
    font-weight: 700;
}

.conversation-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

.conversation-preview {
    font-size: 0.8rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    background: #e88eb4;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
}

/* Chat Area */
.messaging-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.chat-header-user {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

.chat-header-avatar {
    width: 44px;
    height: 44px;
    margin-right: 0.875rem;
}

.chat-header-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.chat-header-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #e88eb4 0%, #d66a9a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.chat-header-info h6 {
    font-weight: 600;
    color: #111827;
}

/* Invitation Banner */
.invitation-banner {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: #fdf2f6;
    border-bottom: 1px solid #f5c4d8;
    font-size: 0.875rem;
}

/* Messages Area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.chat-empty,
.chat-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #9ca3af;
}

.chat-empty > i,
.chat-placeholder > i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.chat-placeholder h5 {
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.chat-placeholder .btn,
.chat-placeholder a.btn,
.chat-placeholder .btn.btn-primary {
    font-size: 0.875rem !important;
    padding: 0.5rem 1.25rem !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.chat-placeholder .btn i,
.chat-placeholder a.btn i,
.chat-placeholder .btn.btn-primary i {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    color: inherit !important;
    width: auto !important;
    height: auto !important;
}

.chat-date-separator {
    text-align: center;
    margin: 1.5rem 0;
}

.chat-date-separator span {
    background: #e5e7eb;
    color: #6b7280;
    font-size: 0.75rem;
    padding: 0.35rem 0.875rem;
    border-radius: 1rem;
}

.chat-message {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

.chat-message.sent {
    align-items: flex-end;
}

.chat-message.received {
    align-items: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 0.625rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-message.sent .message-bubble {
    background: linear-gradient(135deg, #e88eb4 0%, #d66a9a 100%);
    color: #fff;
    border-bottom-right-radius: 0.25rem;
}

.chat-message.received .message-bubble {
    background: #fff;
    color: #111827;
    border-bottom-left-radius: 0.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.message-time {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chat-message.sent .message-time {
    color: #9ca3af;
}

.chat-message.sent .message-time i {
    color: #e88eb4;
}

/* Chat Input */
.chat-input {
    padding: 1rem 1.25rem;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-input-wrapper input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-input-wrapper input:focus {
    border-color: #e88eb4;
    box-shadow: 0 0 0 3px rgba(232, 142, 180, 0.1);
}

.chat-input-wrapper button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .messaging-container {
        flex-direction: column;
        height: auto;
    }

    .messaging-sidebar {
        width: 100%;
        min-width: 100%;
        max-height: 300px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .messaging-chat {
        min-height: 400px;
    }
}

/* ========================================
   PROFILE PHOTO BLUR (Premium feature)
   ======================================== */

.profile-photo-blur {
    filter: blur(8px);
    pointer-events: none;
}

/* ========================================
   CHIPS/TAGS
   ======================================== */

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 2rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.chip.active,
.chip-checkbox input:checked + .chip {
    background: #fdf2f6;
    border-color: #e88eb4;
    color: #d66a9a;
}

.chip-checkbox input {
    display: none;
}

/* ========================================
   PHOTO UPLOAD
   ======================================== */

.photo-slot {
    aspect-ratio: 3/4;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: #f9fafb;
}

.photo-slot.has-photo {
    border: none;
    box-shadow: var(--shadow);
}

.photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-upload-label {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
}

.photo-upload-label:hover {
    background: #f3f4f6;
    border-color: #e88eb4;
}

.photo-upload-label i {
    font-size: 2rem;
}

.photo-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
}

.photo-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
}

/* ========================================
   MAIN CONTENT WRAPPER - PUSH FOOTER DOWN
   ======================================== */

.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper > main,
.content-wrapper > .wrapper.bg-light {
    flex: 1;
}

main.wrapper.bg-light {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main.wrapper.bg-light > .container {
    flex: 1;
}

/* ========================================
   NAVBAR
   ======================================== */

header.wrapper.bg-white {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Fix dropdown positioning */
.navbar-other .nav-item.dropdown {
    position: relative;
}

.navbar-other .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    transform: none !important;
    top: 100% !important;
}

.navbar-profile-photo {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e88eb4;
}

/* ========================================
   OVERLAY COLORS
   ======================================== */

.overlay.overlay-1 figcaption {
    background: rgba(232, 142, 180, 0.85);
}

/* ========================================
   MISC THEME OVERRIDES
   ======================================== */

/* Selection color */
::selection {
    background: rgba(232, 142, 180, 0.3);
}

::-moz-selection {
    background: rgba(232, 142, 180, 0.3);
}

/* Focus outline */
:focus-visible {
    outline-color: #e88eb4;
}

/* Scrollbar (webkit) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .auth-card {
        margin: 1rem;
        padding: 1.5rem;
    }

    .btn {
        padding: 0.45rem 1rem;
        font-size: 0.8125rem;
    }

    .card-body {
        padding: 1rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.bg-primary-soft { background: #fdf2f6 !important; }
.border-primary { border-color: #e88eb4 !important; }
