:root {
    --primary: #ff6b9d;
    --primary-dark: #e85584;
    --primary-light: #ffb3c9;
    --secondary: #c06c84;
    --accent: #f8b5d0;
    --accent-light: #fde2ec;
    --bg-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --bg-gradient-2: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #f48fb1 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-hover: rgba(255, 255, 255, 1);
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --text-muted: #bbbbbb;
    --border-color: #f0e0e8;
    --border-light: #fce4ec;
    --sidebar-width: 240px;
    --sidebar-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(255, 107, 157, 0.08);
    --shadow-md: 0 4px 16px rgba(255, 107, 157, 0.12);
    --shadow-lg: 0 8px 32px rgba(255, 107, 157, 0.16);
    --shadow-card: 0 4px 20px rgba(192, 108, 132, 0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --danger: #e74c3c;
    --danger-light: #fadbd8;
    --success: #27ae60;
    --success-light: #d5f5e3;
    --warning: #f39c12;
    --warning-light: #fdebd0;
    --info: #3498db;
    --info-light: #d6eaf8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1em;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

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

.logo:hover {
    color: var(--primary-dark);
}

.logo-icon {
    font-size: 1.8rem;
    animation: heartBeat 1.5s ease-in-out infinite;
    display: inline-block;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.nav-list {
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 4px;
    font-size: 0.95rem;
    cursor: pointer;
}

.nav-item:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateX(4px);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.35);
}

.nav-item.active .nav-icon {
    filter: brightness(1.1);
}

.nav-badge {
    margin-left: auto;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

.nav-item.active .nav-badge {
    background: rgba(255, 255, 255, 0.3);
}

.nav-icon {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.nav-text {
    white-space: nowrap;
    overflow: hidden;
}

.nav-divider {
    padding: 16px 14px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
}

.nav-divider span {
    display: block;
    position: relative;
}

.nav-divider span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-light);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-nickname {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-love-points {
    font-size: 0.8rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1100;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--primary-dark);
}

.sidebar-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content.no-sidebar {
    margin-left: 0;
}

.top-bar {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
}

.top-bar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    border: none;
    padding: 6px 14px 6px 6px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.dropdown-toggle:hover {
    background: var(--accent);
}

.dropdown-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-mini {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-name {
    font-weight: 500;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--text-light);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 200;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
}

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

.dropdown-danger:hover {
    background: var(--danger-light);
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 6px 8px;
}

.messages-container {
    padding: 16px 32px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--info);
    position: relative;
}

.alert-success {
    border-left-color: var(--success);
    background: var(--success-light);
}

.alert-error,
.alert-danger {
    border-left-color: var(--danger);
    background: var(--danger-light);
}

.alert-warning {
    border-left-color: var(--warning);
    background: var(--warning-light);
}

.alert-info {
    border-left-color: var(--info);
    background: var(--info-light);
}

.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert-text {
    flex: 1;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.alert-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 1rem;
}

.alert-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.content-wrapper {
    flex: 1;
    padding: 24px 32px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.site-footer {
    text-align: center;
    padding: 24px 32px;
    color: var(--text-light);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-light);
    background: var(--card-bg);
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.card-header h2,
.card-header h3 {
    margin-bottom: 0;
}

.card-body {
    padding: 8px 0;
}

.card-footer {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.4);
    color: white;
}

.btn-secondary {
    background: #f5f5f5;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #e8e8e8;
}

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

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

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

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

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

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

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
}

.form-text {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 4px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

thead {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 500;
    font-size: 0.9rem;
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

tbody tr:nth-child(even) {
    background: #fff9fb;
}

tbody tr:hover {
    background: var(--accent-light);
}

tbody tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--accent-light);
    color: var(--primary-dark);
}

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

.badge-success {
    background: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
}

.badge-info {
    background: var(--info-light);
    color: var(--info);
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    background: var(--accent-light);
    color: var(--primary-dark);
    margin: 2px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.photo-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.photo-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

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

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    align-items: flex-end;
    padding: 12px;
    opacity: 0;
    transition: var(--transition);
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-caption {
    color: white;
    font-size: 0.85rem;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 180px);
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.chat-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.ai {
    align-self: flex-start;
    background: var(--accent-light);
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    background: white;
}

.chat-input .form-control {
    flex: 1;
}

.fortune-card {
    background: linear-gradient(135deg, #fff5f8, #ffeaf1);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-card);
    max-width: 480px;
    margin: 0 auto;
}

.fortune-card .fortune-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.fortune-card .fortune-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.fortune-card .fortune-desc {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

.fortune-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.fortune-stat {
    background: white;
    padding: 14px 10px;
    border-radius: var(--radius-md);
}

.fortune-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.fortune-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.shop-item {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.shop-item .item-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.shop-item .item-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.shop-item .item-price {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.shop-item .item-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    display: block;
}

.empty-state .empty-text {
    font-size: 1rem;
    margin-bottom: 16px;
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.heart-beat {
    animation: heartBeat 1.5s ease-in-out infinite;
    display: inline-block;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-light); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-around { justify-content: space-around; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

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

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

.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.rounded { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-md); }
.rounded-xl { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 50%; }

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

.border { border: 1px solid var(--border-color); }
.border-t { border-top: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }

.bg-white { background: white; }
.bg-primary { background: var(--primary); }
.bg-accent-light { background: var(--accent-light); }

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-sm { font-size: 0.85rem; }
.text-lg { font-size: 1.1rem; }
.text-xl { font-size: 1.3rem; }
.text-2xl { font-size: 1.6rem; }

.leading-relaxed { line-height: 1.6; }
.tracking-wide { letter-spacing: 0.05em; }

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 260px;
    }

    .sidebar {
        transform: translateX(-100%);
        box-shadow: var(--shadow-lg);
    }

    .sidebar.collapsed {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .top-bar {
        padding: 14px 16px 14px 64px;
    }

    .top-bar-title {
        font-size: 1.1rem;
    }

    .content-wrapper {
        padding: 16px;
    }

    .messages-container {
        padding: 12px 16px 0;
    }

    .nav-text {
        opacity: 1;
    }

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .fortune-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .fortune-card {
        padding: 24px 20px;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .card {
        padding: 16px;
    }

    .chat-container {
        height: calc(100vh - 140px);
    }

    .site-footer {
        padding: 16px;
        font-size: 0.8rem;
    }

    .dropdown-name {
        display: none;
    }

    .table-responsive {
        overflow-x: auto;
    }

    table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fortune-stats {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .user-details {
        display: none;
    }

    .user-info {
        justify-content: center;
    }

    .sidebar-footer {
        padding: 12px;
    }

    .alert {
        flex-wrap: wrap;
    }
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    min-width: 600px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

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

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

.stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

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

.stat-card .stat-label {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 4px;
}

.checkin-item {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.checkin-item:hover {
    box-shadow: var(--shadow-lg);
}

.checkin-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.checkin-info {
    flex: 1;
}

.checkin-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.checkin-desc {
    color: var(--text-light);
    font-size: 0.85rem;
}

.checkin-progress {
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.checkin-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.promise-item {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--primary);
}

.promise-item.checked {
    border-left-color: var(--success);
    opacity: 0.8;
}

.promise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.promise-title {
    font-weight: 600;
}

.promise-desc {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-align: center;
}

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

.badge-item.locked {
    opacity: 0.5;
    filter: grayscale(0.7);
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.badge-name {
    font-weight: 600;
    margin-bottom: 6px;
}

.badge-desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

.checkin-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px 0;
}

.checkin-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 36px;
    border: 3px solid var(--accent);
    border-radius: 20px;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe4ec 100%);
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.15);
    overflow: hidden;
}

.checkin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
}

.checkin-btn:hover::before {
    left: 100%;
}

.checkin-btn:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffe4ec 0%, #ffd1dc 100%);
}

.checkin-btn:active:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.25);
}

.checkin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-color: #ddd;
    color: #999;
}

.checkin-btn.checked {
    background: linear-gradient(135deg, #d5f5e3 0%, #abebc6 100%);
    border-color: #27ae60;
    color: #1e8449;
    cursor: default;
    animation: checkPulse 0.5s ease;
}

@keyframes checkPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(39, 174, 96, 0.4); }
    100% { transform: scale(1); }
}

.checkin-btn .btn-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: block;
}

.checkin-btn .btn-label {
    font-size: 1rem;
    font-weight: 600;
}

.home-checkin-btn {
    padding: 16px 20px;
    min-width: 110px;
}

.home-checkin-btn .btn-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.home-checkin-btn .btn-label {
    font-size: 0.85rem;
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
}

.badge-card {
    flex: 0 0 calc(25% - 12px);
    min-width: 160px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.badge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.badge-card.earned {
    background: linear-gradient(135deg, #fff9f5 0%, #fff0e5 100%);
    border-color: var(--warning);
}

.badge-card.earned .badge-icon {
    animation: badgeShine 2s ease infinite;
}

@keyframes badgeShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.badge-card .badge-icon {
    font-size: 2.8rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.badge-card:hover .badge-icon {
    transform: scale(1.1) rotate(-5deg);
}

.badge-card .badge-name {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.badge-card .badge-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.4;
}

.badge-card .badge-progress {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
}

.badge-card:not(.earned) .badge-icon {
    filter: grayscale(0.7) brightness(0.6);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .badge-card {
        flex: 0 0 calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .badge-card {
        flex: 0 0 100%;
    }
}

.anniversary-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding-left: 28px;
}

.anniversary-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline-item {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.timeline-title {
    font-weight: 600;
    margin: 4px 0;
}

.timeline-desc {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.storage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 8px;
    transition: var(--transition);
}

.storage-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.storage-icon {
    font-size: 1.5rem;
}

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

.storage-name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.storage-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.wish-item {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.wish-item:hover {
    box-shadow: var(--shadow-lg);
}

.wish-item.completed {
    opacity: 0.6;
}

.wish-item.completed .wish-title {
    text-decoration: line-through;
}

.wish-content {
    flex: 1;
}

.wish-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.wish-desc {
    color: var(--text-light);
    font-size: 0.85rem;
}

.wish-creator {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 8px;
    font-style: italic;
}

.promise-creator {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 8px;
    font-style: italic;
}

.promise-stats {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-top: 8px;
    flex-wrap: wrap;
}

.promise-stats span {
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 12px;
}

.btn-partner {
    color: var(--accent, #ff6b9d);
    font-weight: 500;
}

.mood-item {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
    margin-bottom: 16px;
}

.mood-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mood-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.mood-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mood-user {
    font-weight: 600;
}

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

.mood-content {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 12px;
}

.mood-actions {
    display: flex;
    gap: 16px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.mood-action {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.mood-action:hover {
    background: var(--accent-light);
    color: var(--primary);
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

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

.auth-logo-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 8px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.auth-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-title {
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
    transition: var(--transition);
}

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

.notification-item.unread {
    background: var(--accent-light);
    border-left: 4px solid var(--primary);
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-text {
    color: var(--text-dark);
    margin-bottom: 4px;
}

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

/* ===== Couple Module Custom Styles ===== */

.love-days-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.love-days-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.love-days-card .heart-big {
    font-size: 3rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.love-days-number {
    font-size: 4rem;
    font-weight: 700;
    margin: 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.love-days-label {
    font-size: 1.2rem;
    opacity: 0.95;
}

.partner-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.heart-connector {
    font-size: 2rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    box-shadow: var(--shadow-md);
}

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

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

.avatar-empty {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Anniversary Card Styles */
.anniversary-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.anniversary-card:hover {
    background: #fde2ec;
    transform: translateX(5px);
}

.anniversary-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.anniversary-info {
    flex: 1;
}

.anniversary-title {
    font-weight: 600;
    color: var(--text-dark);
}

.anniversary-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.anniversary-countdown {
    text-align: right;
    flex-shrink: 0;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Mood Card Styles (Enhanced) */
.mood-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.mood-type-icon {
    font-size: 1.5rem;
}

.mood-content {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.mood-comment {
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.mood-comment-user {
    font-weight: 600;
    color: var(--primary);
}

.mood-comments {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

/* Love Points Display */
.love-points-display {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
}

.love-points-value {
    font-size: 2rem;
    font-weight: 700;
    color: #b45309;
}

.love-points-label {
    font-size: 0.85rem;
    color: #92400e;
}

/* Group Tabs for Album */
.group-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.group-tab {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--card-bg);
    border: 2px solid var(--primary-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.group-tab:hover,
.group-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Check-in Status */
.checkin-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.checkin-done {
    background: #d1fae5;
    color: #065f46;
}

.checkin-pending {
    background: #fef3c7;
    color: #92400e;
}

/* Grid Utility Classes */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Page Title Enhancement */
.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Card Header Enhancement */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
}

/* Messages */
.message {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.message-error {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid #fecaca;
}

.message-success {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid #a7f3d0;
}

.message-info {
    background: var(--info-light);
    color: var(--info);
    border: 1px solid #bfdbfe;
}

.messages {
    margin-bottom: 1.5rem;
}

/* Error Message */
.error-message {
    background: var(--danger-light);
    color: var(--danger);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Control File */
.form-control-file {
    width: 100%;
    padding: 0.5rem;
    border: 2px dashed var(--primary-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    background: var(--accent-light);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

/* Navbar active state */
.nav-link.active,
.nav-text.active {
    background: var(--accent-light);
    color: var(--primary);
}

/* Badge Gold */
.badge-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

/* Photo Caption */
.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 0.8rem;
}

/* Mood Action Liked State */
.mood-action.liked {
    color: var(--primary);
}

/* Page Subtitle */
.subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Alert Components */
.alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border: 2px solid transparent;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe5b4 100%);
    border-color: #ffc107;
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-color: #17a2b8;
    color: #0c5460;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #28a745;
    color: #155724;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #dc3545;
    color: #721c24;
}

.alert-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.alert-text {
    font-size: 0.9rem;
    opacity: 0.9;
}