/* Love Platform - Main Stylesheet
   Light Pink Theme for Couples
*/

:root {
    /* Primary Colors - Light Pink Theme */
    --primary: #FF69B4;
    --primary-light: #FFB6C1;
    --primary-lighter: #FFC0CB;
    --primary-dark: #FF1493;
    --primary-gradient: linear-gradient(135deg, #FF69B4, #FFB6C1);

    /* Secondary Colors */
    --secondary: #E91E63;
    --secondary-light: #F48FB1;

    /* Accent Colors */
    --accent-purple: #9C27B0;
    --accent-red: #E91E63;
    --heart-red: #FF4B6E;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #FFF5F7;
    --gray-100: #FFF0F3;
    --gray-200: #FCE4EC;
    --gray-300: #F8BBD9;
    --gray-400: #F06292;
    --gray-500: #EC407A;
    --gray-600: #D81B60;
    --gray-700: #AD1457;
    --gray-800: #880E4F;
    --gray-900: #4A0A2A;

    /* Functional Colors */
    --success: #4CAF50;
    --success-light: #C8E6C9;
    --warning: #FF9800;
    --warning-light: #FFE0B2;
    --error: #F44336;
    --error-light: #FFCDD2;
    --info: #2196F3;
    --info-light: #BBDEFB;

    /* Text Colors */
    --text-primary: #4A0A2A;
    --text-secondary: #880E4F;
    --text-muted: #AD1457;
    --text-light: #FFFFFF;

    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FFF5F7;
    --bg-accent: #FCE4EC;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(255, 105, 180, 0.1);
    --shadow: 0 2px 8px rgba(255, 105, 180, 0.15);
    --shadow-lg: 0 8px 24px rgba(255, 105, 180, 0.2);
    --shadow-xl: 0 12px 48px rgba(255, 105, 180, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;

    /* Spacing */
    --nav-height: 64px;
    --side-nav-width: 260px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

.nav-search {
    width: 280px;
    max-width: 280px;
    position: relative;
    flex-shrink: 0;
}

.nav-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    z-index: 1;
}

.nav-search input {
    width: 100%;
    height: 40px;
    padding: 8px 16px 8px 40px;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--gray-50);
    box-sizing: border-box;
}

.nav-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.nav-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    background: var(--heart-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.profile-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid var(--primary-light);
}

.profile-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    left: 0;
    top: var(--nav-height);
    bottom: 0;
    width: var(--side-nav-width);
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 20px 0;
    overflow-y: auto;
    z-index: 999;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.menu-item:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.menu-item.active {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.menu-item i {
    width: 24px;
    font-size: 1.1rem;
    text-align: center;
}

/* Main Content Area */
main {
    margin-left: var(--side-nav-width);
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    padding: 24px;
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Page Headers */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.card-body {
    padding: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Partner Widget */
.partner-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.partner-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    margin: 0 auto 16px;
    border: 4px solid var(--primary-light);
    object-fit: cover;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.partner-status {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.partner-status.online::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: var(--radius-full);
    margin-right: 6px;
}

.partner-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--gray-100);
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.action-btn.primary {
    background: var(--primary-gradient);
    color: var(--white);
}

/* Messages Page */
.messages-layout {
    display: grid;
    grid-template-columns: 340px 1fr 300px;
    gap: 0;
    height: calc(100vh - var(--nav-height) - 48px);
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.conversations-list {
    border-right: 1px solid var(--gray-200);
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.conversation-item:hover,
.conversation-item.active {
    background: var(--gray-50);
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

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

.conversation-name {
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.conversation-preview {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Chat Area */
.chat-area {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--gray-50);
}

.message {
    display: flex;
    margin-bottom: 16px;
    max-width: 70%;
}

.message.sent {
    margin-left: auto;
    flex-direction: row-reverse;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.message.sent .message-bubble {
    background: var(--primary-gradient);
    color: var(--white);
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.message.sent .message-time {
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

.chat-input {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    transition: var(--transition);
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-input button {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    transform: scale(1.05);
}

/* Partner Panel in Chat */
.chat-partner-panel {
    border-left: 1px solid var(--gray-200);
    padding: 24px;
    text-align: center;
    overflow-y: auto;
}

.chat-partner-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    margin: 0 auto 16px;
    border: 4px solid var(--primary-light);
    object-fit: cover;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.stat-icon.pink {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.stat-icon.purple {
    background: #E1BEE7;
    color: var(--accent-purple);
}

.stat-icon.green {
    background: var(--success-light);
    color: var(--success);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--gray-100);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Footer */
.footer {
    margin-left: var(--side-nav-width);
    padding: 40px 24px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom i {
    color: var(--heart-red);
}

/* Verified Badge */
.verified-badge {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px 0;
    display: none;
    z-index: 1000;
}

.dropdown.show .dropdown-menu,
.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.dropdown-item.danger {
    color: var(--error);
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0;
}

/* Profile Dropdown Specific Styles */
.profile-dropdown {
    min-width: 220px;
    max-width: 250px;
    right: 0;
    top: calc(100% + 8px);
}

.profile-dropdown .profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.profile-dropdown .profile-header img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0;
}

.profile-dropdown .profile-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.profile-dropdown .profile-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Notification Dropdown Styles */
.notification-dropdown {
    min-width: 320px;
    max-width: 360px;
    max-height: 400px;
    overflow: hidden;
    right: 0;
}

.notification-dropdown .dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
}

.notification-dropdown .dropdown-header h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.notification-dropdown .dropdown-header a {
    font-size: 0.85rem;
    color: var(--primary);
}

.notification-dropdown .dropdown-body {
    max-height: 320px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
    text-decoration: none;
}

.notification-item:hover {
    background: var(--gray-50);
}

.notification-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.notification-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.notification-dropdown .empty-state {
    padding: 30px 20px;
}

.notification-dropdown .empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.notification-dropdown .empty-state p {
    font-size: 0.9rem;
    margin: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1200px) {
    .messages-layout {
        grid-template-columns: 300px 1fr;
    }

    .chat-partner-panel {
        display: none;
    }
}

@media (max-width: 992px) {
    .side-nav {
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .side-nav.show {
        transform: translateX(0);
    }

    main {
        margin-left: 0;
    }

    .footer {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .messages-layout {
        grid-template-columns: 1fr;
    }

    .conversations-list {
        display: none;
    }

    .nav-search {
        display: none;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease;
}

.animate-slideUp {
    animation: slideUp 0.3s ease;
}
/* Avatar Styles */
.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-sm {
    width: 32px;
    height: 32px;
}

.avatar-lg {
    width: 80px;
    height: 80px;
}

.avatar-xl {
    width: 120px;
    height: 120px;
}

/* Dashboard specific fixes */
.couple-avatars .avatar {
    width: 80px;
    height: 80px;
    border: 3px solid var(--white);
}

.couple-avatars img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Card ghost button */
.btn-ghost {
    background: transparent;
    color: var(--primary);
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-ghost:hover {
    background: var(--primary-light);
}

/* Empty state fixes */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 16px;
    display: block;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* List item fixes */
.reminder-info h4,
.greeting-info h4,
.gift-info h4,
.date-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.reminder-info p,
.greeting-info p,
.gift-info p,
.date-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Partner widget and panel fixes */
.partner-widget .partner-avatar,
.chat-partner-panel .chat-partner-avatar,
.chat-partner-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-light);
}

/* Partner panel in messages */
.chat-partner-panel img {
    max-width: 120px;
    max-height: 120px;
}

/* Ensure all images in cards are constrained */
.card img {
    max-width: 100%;
    height: auto;
}

/* Gift and greeting images */
.gift-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Text utilities */
.text-muted {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.text-center {
    text-align: center;
}

/* Partner Widget in Sidebar */
.partner-widget {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--gray-200);
    margin-top: 20px;
}

.partner-widget .partner-status {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.partner-widget .partner-status img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.partner-widget .status-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gray-400);
    border: 2px solid var(--white);
}

.partner-widget .partner-status.online .status-indicator {
    background: var(--success);
}

.partner-widget h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.partner-widget p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.partner-widget .quick-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.partner-widget .quick-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-widget .quick-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Ensure all sidebar images are constrained */
.side-nav img {
    max-width: 80px;
    max-height: 80px;
}

/* Fix sidebar overflow */
.side-nav {
    overflow: hidden;
    overflow-y: auto;
}

/* Force partner widget image size */
.partner-widget img,
.partner-status img,
.side-nav img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Ensure couple avatars in dashboard are sized correctly */
.couple-avatars img,
.avatar-lg {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
}

/* ============================================
   IMAGE SIZE FIXES - FORCE PROPER DIMENSIONS
   ============================================ */

/* Sidebar partner widget - force image size */
.side-nav .partner-widget img,
.side-nav .partner-status img,
.partner-widget .partner-status img,
aside img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Dashboard couple avatars */
.welcome-section .couple-avatars img,
.couple-avatars .avatar,
.couple-avatars img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Avatar size classes */
.avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.avatar-sm {
    width: 32px !important;
    height: 32px !important;
}

.avatar-lg {
    width: 80px !important;
    height: 80px !important;
}

.avatar-xl {
    width: 120px !important;
    height: 120px !important;
}

/* Ensure sidebar doesn't overflow */
.side-nav {
    overflow-x: hidden !important;
}

/* Partner widget container */
.partner-widget {
    width: 100% !important;
    max-width: 260px !important;
    overflow: hidden !important;
}

.partner-status {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 12px !important;
    position: relative !important;
    display: block !important;
}
.partner-widget { display: none \!important; }

/* Fix nav profile button image */
.nav-profile,
#profileBtn {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 2px solid var(--primary-light) !important;
    background: var(--gray-100) !important;
}

.nav-profile img,
#profileBtn img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Also re-enable partner widget */
.partner-widget {
    display: block !important;
}

/* Main Content Layout */
.main-content {
    padding: 24px;
    min-height: calc(100vh - var(--nav-height, 70px));
}

.main-content.logged-in {
    margin-left: var(--side-nav-width, 260px);
    margin-top: var(--nav-height, 70px);
    background: var(--gray-50, #f8f9fa);
}

/* Welcome Section */
.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.welcome-content h1 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.welcome-content h1 i {
    color: var(--primary, #ec4899);
}

.welcome-content p {
    color: var(--text-secondary, #666);
    margin-top: 4px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #999;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 1024px) {
    .side-nav {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .side-nav.open {
        transform: translateX(0);
    }
    
    .main-content.logged-in {
        margin-left: 0;
    }
}

/* Auth Pages (Login, Register, Forgot Password) */
.auth-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.15);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 8px;
}

.auth-header p {
    color: #888;
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    color: #888;
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary, #ec4899);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Search Results Dropdown */
.nav-search {
    position: relative;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    min-width: 350px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 8px;
    display: none;
}

.search-loading {
    padding: 20px;
    text-align: center;
    color: #888;
}

.search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: #888;
}

.search-no-results i {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.search-error {
    padding: 20px;
    text-align: center;
    color: #e74c3c;
}

.search-category {
    border-bottom: 1px solid #eee;
}

.search-category:last-child {
    border-bottom: none;
}

.search-category h4 {
    padding: 12px 16px 8px;
    margin: 0;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8f9fa;
}

.search-category h4 i {
    margin-right: 8px;
    color: #FF69B4;
}

.search-item {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    transition: background 0.2s;
}

.search-item:hover {
    background: #fff0f5;
}

.search-title {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.search-desc {
    display: block;
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
