::-webkit-scrollbar {
    width: 0px;
  }
  
  ::-webkit-scrollbar-track {
    background-color: #000;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #00afac;
    border-radius: 0px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: #1000de;
  }
  
  ::-webkit-scrollbar-y {
    width: 0px;
  }
  ::-webkit-scrollbar-x {
    width: 0px;
  }
  ::-webkit-scrollbar-thumb:vertical {
    background-color: #00afac;
    border-radius: 0px;
  }
  
  ::-webkit-scrollbar-thumb:vertical:hover {
    background-color: #1000de;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.07);
    }
    50% {
        box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 10px 25px rgba(0,0,0,0.1), 0 0 30px rgba(255,255,255,0.3);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
  
:root {
    /* Enhanced color palette with professional variety */
    --primary-color: #007AFF;
    --primary-light: rgba(0, 122, 255, 0.1);
    --primary-dark: #0056CC;
    --secondary-color: #5856D6;
    --secondary-light: rgba(88, 86, 214, 0.1);
    --accent-color: #FF6B35;
    --accent-light: rgba(255, 107, 53, 0.1);
    --success-color: #34C759;
    --success-light: rgba(52, 199, 89, 0.1);
    --warning-color: #FF9500;
    --warning-light: rgba(255, 149, 0, 0.1);
    --error-color: #FF3B30;
    --error-light: rgba(255, 59, 48, 0.1);
    --info-color: #5AC8FA;
    --info-light: rgba(90, 200, 250, 0.1);
    --purple-color: #AF52DE;
    --purple-light: rgba(175, 82, 222, 0.1);
    --teal-color: #5AC8FA;
    --teal-light: rgba(90, 200, 250, 0.1);
    
    --background-color: #F2F2F7;
    --card-background: #FFFFFF;
    --text-color: #000000;
    --secondary-text: #8E8E93;
    --border-color: rgba(0,0,0,0.1);
    --hover-color: rgba(0,0,0,0.05);
    
    /* New shadow variables */
    --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --hover-shadow: 0 8px 25px rgba(0,0,0,0.12);
    --button-shadow: 0 2px 8px rgba(0,122,255,0.35);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-success: linear-gradient(135deg, var(--success-color), #30B04A);
    --gradient-warning: linear-gradient(135deg, var(--warning-color), #E6850E);
    --gradient-error: linear-gradient(135deg, var(--error-color), #D70015);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: var(--background-color);
}

h1, h2, h3 {
    color: var(--text-color);
}

.notification-form {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notification-form .form-group {
    margin-bottom: 15px;
}

.notification-form label {
    display: block;
    margin-bottom: 5px;
}

.notification-form input,
.notification-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: var(--background-color);
    color: var(--text-color);
    font-family: 'Vazirmatn';
    font-size: 14px;
}

.notification-form .submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
}

[data-theme="dark"] .notification-form textarea, [data-theme="dark"] .notification-form input {
    background: #1C1C1E;
    border-color: rgba(255, 255, 255, 0.1);
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: var(--background-color);
    color: var(--text-color);
    font-family: 'Vazirmatn';
    font-size: 14px;
}


[data-theme="dark"] textarea, [data-theme="dark"] {
    background: #1C1C1E;
    border-color: rgba(255, 255, 255, 0.1);
}

.action-btn {
    background: #007aff;
    border: none;
    padding: 8px 8px 2px 8px;
    border-radius: 100%;
    color: #fff;
}

.notification-form .submit-btn:hover {
    background: var(--primary-hover);
}

.notification-item {
    display: flex;
    align-items: center;
    background: var(--secondary-bg);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notification-icon {
    margin-left: 10px;
}

.bell-icon {
    color: var(--primary-color);
    animation: ring 2s infinite ease-in-out;
}

@keyframes ring {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.notification-content {
    flex: 1;
}

.charges-page {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.charges-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.charge-item {
    display: flex;
    align-items: center;
    background: var(--secondary-bg);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.charge-icon {
    margin-left: 10px;
}

.money-icon {
    color: var(--primary-color);
    animation: pulse 2s infinite ease-in-out;
}

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

.charge-content {
    flex: 1;
}

.charge-content h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.charge-content p {
    margin: 0 0 5px;
    font-size: 14px;
    color: var(--secondary-text);
}

.charge-date {
    font-size: 12px;
    color: var(--secondary-text);
}

.charge-status.paid {
    color: #28a745;
}

.charge-status.pending {
    color: #ffc107;
}

.charge-status.unpaid {
    color: #dc3545;
}

.charge-form {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.charge-form .form-group {
    margin-bottom: 15px;
}

.charge-form label {
    display: block;
    margin-bottom: 5px;
}

.charge-form input,
.charge-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--input-bg);
    color: var(--text-color);
}

.notification-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-color);
}

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

.delete-btn {
    color: #dc3545;
}

.delete-btn:hover {
    color: #a71d2a;
}

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--button-shadow);
    position: relative;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,122,255,0.4);
    filter: brightness(1.1);
}

/* استایل‌های پیام‌های خصوصی */
.messages-page {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* استایل‌های نمودارها */
.charts-section {
    background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 10px 25px rgba(0,0,0,0.1);
    margin: 25px 0;
    border: 2px solid transparent;
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
}

.charts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
}

.charts-section::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
    animation: gradientShift 5s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.charts-section:hover::after {
    opacity: 1;
}

.personal-charts {
    background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 10px 25px rgba(0,0,0,0.1);
    margin: 25px 0;
    border: 2px solid transparent;
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
}

.personal-charts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff9ff3, #54a0ff, #5f27cd, #00d2d3, #ff9f43);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
}

.personal-charts::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff9ff3, #54a0ff, #5f27cd, #00d2d3, #ff9f43, #ff6b6b, #4ecdc4);
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
    animation: gradientShift 5s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.personal-charts:hover::after {
    opacity: 1;
}

.charts-section h3,
.personal-charts h3 {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: gradientShift 4s ease infinite;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.charts-section canvas,
.personal-charts canvas {
    max-height: 350px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.charts-section canvas:hover,
.personal-charts canvas:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 0 30px rgba(255,255,255,0.3);
    animation: glow 2s ease-in-out infinite;
}


.message-form {
    background: var(--card-background);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
}

.message-form .form-group {
    margin-bottom: 15px;
}

.message-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.message-form input,
.message-form select,
.message-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.message-form input:focus,
.message-form select:focus,
.message-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    background: var(--card-background);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}

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

.message-item.sent {
    background: linear-gradient(135deg, var(--primary-light), rgba(0,122,255,0.05));
    border-right: 4px solid var(--primary-color);
}

.message-item.received {
    background: linear-gradient(135deg, var(--success-light), rgba(52,199,89,0.05));
    border-right: 4px solid var(--success-color);
}

.message-item.unread {
    background: linear-gradient(135deg, var(--warning-light), rgba(255,149,0,0.05));
    border-right: 4px solid var(--warning-color);
    animation: pulse 2s infinite;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.sender-name {
    font-weight: 600;
    color: var(--text-color);
}

.message-date {
    font-size: 12px;
    color: var(--secondary-text);
}

.message-content {
    margin-bottom: 10px;
}

.message-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.message-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.action-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,122,255,0.3);
}

.app {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    background: var(--card-background);
    padding-bottom: 80px;
}

.status-bar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 5px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.status-icons {
    display: flex;
    gap: 5px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    display: flex !important;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

[data-theme="dark"] .header {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo svg {
    width: 24px;
    height: 24px;
    color: white;
}

.header-title {
    flex: 1;
}

.header-title h1 {
    font-size: 18px;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-title span {
    font-size: 12px;
    color: var(--secondary-text);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
}

.menu-item {
    border-radius: 25px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.07);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    backdrop-filter: blur(20px);
    min-height: 140px;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
    animation: gradientShift 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* تنوع رنگی برای منوها - دقیقاً مثل عکس */
.menu-item:nth-child(1) {
    background: linear-gradient(135deg, #4A90E2, #357ABD) !important;
    color: white !important;
}

.menu-item:nth-child(2) {
    background: linear-gradient(135deg, #7ED321, #5BA517) !important;
    color: white !important;
}

.menu-item:nth-child(3) {
    background: linear-gradient(135deg, #F5A623, #D68910) !important;
    color: white !important;
}

.menu-item:nth-child(4) {
    background: linear-gradient(135deg, #D0021B, #B71C1C) !important;
    color: white !important;
}

.menu-item:nth-child(5) {
    background: linear-gradient(135deg, #9013FE, #7B1FA2) !important;
    color: white !important;
}

.menu-item:nth-child(6) {
    background: linear-gradient(135deg, #50E3C2, #26A69A) !important;
    color: white !important;
}

.menu-item:nth-child(7) {
    background: linear-gradient(135deg, #F8E71C, #F9A825) !important;
    color: white !important;
}

.menu-item:nth-child(8) {
    background: linear-gradient(135deg, #BD10E0, #9C27B0) !important;
    color: white !important;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-15px) scale(1.05) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2), 0 15px 35px rgba(0,0,0,0.15), 0 0 40px rgba(255,255,255,0.4);
    filter: brightness(1.2) saturate(1.3);
    animation: glow 2s ease-in-out infinite, float 3s ease-in-out infinite;
}

.menu-item:hover::before {
    transform: translateX(100%);
}

.menu-item:hover::after {
    opacity: 1;
    animation: gradientShift 2s ease infinite;
}

.menu-item:active {
    transform: translateY(-5px) scale(0.98);
    transition: all 0.1s ease;
}

.menu-item svg {
    color: white !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    z-index: 2;
    position: relative;
}

.menu-item:hover svg {
    transform: scale(1.3) rotate(10deg) translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4)) brightness(1.2);
    animation: rotate 2s linear infinite;
}

.menu-item span {
    color: white !important;
    font-size: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 10px rgba(255,255,255,0.5);
    z-index: 2;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.menu-item:hover span {
    text-shadow: 0 4px 8px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-around;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px 20px 0 0;
    padding: 15px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

[data-theme="dark"] .bottom-nav {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: none;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--secondary-text);
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 12px;
}

.nav-item.active {
    background: var(--primary-light);
}

.nav-item.active svg {
    transform: scale(1.1);
}

.theme-toggle {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* Override system preferences when manual theme is selected */
[data-theme="light"] {
    --background-color: #F2F2F7;
    --card-background: #FFFFFF;
    --text-color: #000000;
    --secondary-text: #8E8E93;
}

[data-theme="dark"] {
    --background-color: #000000;
    --card-background: #000000;
    --text-color: #FFFFFF;
    --secondary-text: #8E8E93;
    --card-shadow: none;
    --hover-shadow: none;
    --button-shadow: none;
    --primary-light: rgba(0, 122, 255, 0.15);
}

/* Add smooth touch feedback */
.menu-item:active {
    transform: scale(0.98);
    opacity: 0.8;
}

.nav-item:active {
    opacity: 0.8;
}

/* Page specific styles */
.page {
    display: none;
    padding: 20px;
    padding-bottom: 80px;
}

.page.active {
    display: block;
}

/* Notification styles */
.notification-item {
    background: var(--card-background);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    transform: translateY(0);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    margin: 10px;
    position: relative;
    overflow: hidden;
}

/* تنوع رنگی برای نوتیفیکیشن‌ها */
.notification-item:nth-child(odd) {
    border-left: 4px solid var(--primary-color);
}

.notification-item:nth-child(even) {
    border-left: 4px solid var(--success-color);
}

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

.notification-item.urgent {
    border-left: 4px solid var(--accent-color);
    background: var(--accent-light);
    animation: pulse 2s infinite;
}

.notification-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.netty-title {
    color: var(--text-color);
    font-weight: bold;
}

.notification-date {
    color: var(--secondary-text);
    font-size: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.notification-content {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
}

/* Profile styles */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.profile-avatar svg {
    width: 60px;
    height: 60px;
    color: white;
}

.profile-name {
    color: var(--text-color);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.profile-unit {
    color: var(--secondary-text);
    font-size: 14px;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    padding: 18px;
    background: var(--card-background);
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.profile-menu-item:hover {
    transform: translateX(-8px);
    box-shadow: var(--hover-shadow);
}

.profile-menu-item svg {
    width: 24px;
    height: 24px;
    margin-left: 15px;
    color: var(--primary-color);
}

.profile-menu-item span {
    color: var(--text-color);
    font-size: 14px;
    flex: 1;
}

.profile-menu-item.logout {
    color: #FF3B30;
}

.profile-menu-item.logout svg {
    color: #FF3B30;
}

.profile-menu-item.logout span {
    color: #FF3B30;
}

/* Dashboard styles */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.stat-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.07);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    min-height: 120px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: gradientShift 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2), 0 15px 35px rgba(0,0,0,0.15), 0 0 30px rgba(255,255,255,0.3);
    animation: glow 2s ease-in-out infinite;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: gradientShift 3s ease infinite;
    position: relative;
    z-index: 2;
}

.stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 10px rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.stat-card:hover .stat-value {
    animation: gradientShift 1.5s ease infinite, float 2s ease-in-out infinite;
    transform: scale(1.1);
}

.stat-card:hover .stat-label {
    text-shadow: 0 4px 8px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stat-card:hover::after {
    opacity: 1;
}

.stat-value {
    font-size: 17px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 10px;
    color: var(--secondary-text);
}

.dashboard-section {
    background: var(--card-background);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-section h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.finance-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 200px;
    padding: 20px 0;
}

.chart-bar {
    width: 40px;
    background: var(--primary-color);
    border-radius: 5px;
    position: relative;
    transition: height 0.3s ease;
}

.chart-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--secondary-text);
    white-space: nowrap;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--background-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.activity-details {
    flex: 1;
}

.activity-title {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.activity-time {
    color: var(--secondary-text);
    font-size: 12px;
}

/* Residents page styles */
.residents-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.residents-header h2 {
    color: var(--text-color);
    font-size: 20px;
}

.add-resident-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: var(--button-shadow);
    transition: all 0.3s ease;
    color: #fff;
    border: none;
}

.add-resident-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,122,255,0.45);
}

.add-resident-btn:active {
    transform: scale(0.98);
}

.residents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.resident-card {
    background: var(--card-background);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
}

.resident-card:hover {
    transform: translateX(-8px);
    box-shadow: var(--hover-shadow);
}

.resident-avatar {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.resident-avatar svg {
    width: 30px;
    height: 30px;
    color: white;
}

.resident-info {
    flex: 1;
}

.resident-name {
    color: var(--text-color);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.resident-details {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.unit-number {
    color: var(--secondary-text);
    font-size: 14px;
}

.resident-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
}

.resident-status.owner {
    background: #34C759;
    color: white;
}

.resident-status.tenant {
    background: #FF9500;
    color: white;
}

.resident-contact {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary-text);
    font-size: 14px;
}

.resident-menu-btn {
    background: none;
    border: none;
    padding: 5px;
    color: var(--secondary-text);
    cursor: pointer;
    border-radius: 50%;
}

.resident-menu-btn:hover {
    background: var(--background-color);
}

/* Charges page styles */
.charges-header {
    background: var(--card-background);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.total-balance {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.balance-label {
    color: var(--secondary-text);
    font-size: 14px;
    margin-bottom: 5px;
}

.balance-amount {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.payment-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--card-background);
    border: none;
    border-radius: 12px;
    padding: 15px;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.payment-actions button:active {
    transform: scale(0.98);
}

.charge-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.charge-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.charge-month {
    color: var(--text-color);
    font-weight: bold;
}

.charge-amount {
    color: var(--primary-color);
    font-weight: bold;
}

.charge-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.charge-due-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary-text);
    font-size: 12px;
}

.charge-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
}

.charge-status.paid {
    background: #34C759;
    color: white;
}

.charge-status.pending {
    background: #FF9500;
    color: white;
    float: left;
    margin-top: -30px;
}

.charge-content .submit-btn {
    background: var(--primary-color);
    color: white;
    float: left;
    margin-top: -50px;
}

.charge-status.unpaid {
    background: #FF3B30;
    color: white;
}

/* Settings styles */
.settings-section {
    margin: 20px 0;
}

.settings-section h3 {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 15px;
    padding-right: 15px;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    margin-right: auto;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-text);
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    right: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + label {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + label:before {
    transform: translateX(-26px);
}

/* Polls styles */
.poll-card {
    background: var(--card-background);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.poll-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.poll-title {
    color: var(--text-color);
    font-weight: bold;
    font-size: 16px;
}

.poll-date {
    color: var(--secondary-text);
    font-size: 12px;
}

.poll-description {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option {
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    background: var(--primary-light);
}

.poll-option:hover {
    transform: translateX(-5px);
    background: var(--primary-light);
}

.poll-option.selected {
    border: 2px solid var(--primary-color);
    background: var(--primary-light);
}

.poll-option-text {
    color: var(--text-color);
    font-size: 14px;
    z-index: 1;
    position: relative;
}

.poll-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.1;
    transition: width 0.3s ease;
}

.poll-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.poll-percentage {
    color: var(--secondary-text);
    font-size: 12px;
}

.poll-votes {
    color: var(--secondary-text);
    font-size: 12px;
}

.poll-action {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.vote-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: var(--button-shadow);
    transition: all 0.3s ease;
}

.vote-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,122,255,0.45);
}

.vote-button:active {
    transform: scale(0.98);
}

.vote-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.total-votes {
    color: var(--secondary-text);
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}

.add-poll-btn svg {
    width: 20px;
    height: 20px;
}

/* Splash screen styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--card-background) 0%, var(--background-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out;
}

.splash-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--button-shadow);
    animation: scaleIn 0.5s ease-out;
}

.splash-logo svg {
    width: 60px;
    height: 60px;
    color: white;
}

.splash-title {
    color: var(--text-color);
    font-size: 24px;
    font-weight: bold;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.3s forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

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

.menu-item, .notification-item, .profile-menu-item, .stat-card, .resident-card, .poll-card {
    animation: fadeInUp 0.5s ease-out forwards;
}

.menu-grid > *:nth-child(1) { animation-delay: 0.1s; }
.menu-grid > *:nth-child(2) { animation-delay: 0.2s; }
.menu-grid > *:nth-child(3) { animation-delay: 0.3s; }
.menu-grid > *:nth-child(4) { animation-delay: 0.4s; }
.menu-grid > *:nth-child(5) { animation-delay: 0.5s; }
.menu-grid > *:nth-child(6) { animation-delay: 0.6s; }

.splash-screen.hide {
    opacity: 0;
    pointer-events: none;
}

[data-theme="dark"] .menu-item,
[data-theme="dark"] .notification-item,
[data-theme="dark"] .profile-menu-item,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .resident-card,
[data-theme="dark"] .poll-card {
    border: 1px solid rgba(255,255,255,0.1);
    background: #000000;
}

[data-theme="dark"] .menu-item:hover,
[data-theme="dark"] .notification-item:hover,
[data-theme="dark"] .profile-menu-item:hover,
[data-theme="dark"] .stat-card:hover,
[data-theme="dark"] .resident-card:hover,
[data-theme="dark"] .poll-card:hover {
    border: 1px solid rgba(255,255,255,0.2);
    background: #111111;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--error-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid var(--card-background);
    animation: pulse 2s infinite;
}

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

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-background);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal.show .modal-content {
    transform: translateY(0);
}

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

.modal-header h3 {
    color: var(--text-color);
    font-size: 18px;
}

.close-modal {
    background: none;
    border: none;
    color: var(--secondary-text);
    cursor: pointer;
    padding: 5px;
}

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

.form-group label {
    display: block;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: var(--background-color);
    color: var(--text-color);
    font-family: 'Vazirmatn';
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.submit-btn,
.cancel-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-family: 'Vazirmatn';
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.cancel-btn {
    background: var(--background-color);
    color: var(--text-color);
}

.submit-btn:hover,
.cancel-btn:hover {
    transform: translateY(-2px);
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 2000;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Dark mode adjustments */
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select {
    background: #1C1C1E;
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .modal-content {
    border: 1px solid rgba(255,255,255,0.1);
}

[data-theme="dark"] .toast {
    background: rgba(255,255,255,0.9);
    color: black;
}

/* Maintenance styles */
.maintenance-page {
    padding: 20px;
}

.maintenance-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.maintenance-item {
    background: var(--card-background);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.maintenance-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

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

.maintenance-title {
    font-weight: bold;
    color: var(--text-color);
}

.maintenance-date {
    color: var(--secondary-text);
    font-size: 12px;
}

.maintenance-description {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.maintenance-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: white;
}

.maintenance-status.pending {
    background: var(--warning-color);
}

.maintenance-status.in-progress {
    background: var(--primary-color);
}

.maintenance-status.completed {
    background: var(--success-color);
}

[data-theme="dark"] .maintenance-item {
    border: 1px solid rgba(255,255,255,0.1);
}

/* Amenities styles */
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
}

.amenity-card {
    background: var(--card-background);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.amenity-card:hover {
    transform: translateX(-8px);
    box-shadow: var(--hover-shadow);
}

.amenity-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.amenity-content {
    flex: 1;
}

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

.amenity-header h3 {
    color: var(--text-color);
    font-size: 16px;
    margin: 0;
}

.amenity-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    color: white;
}

.amenity-status.available {
    background: var(--success-color);
}

.amenity-status.maintenance {
    background: var(--warning-color);
}

.amenity-status.reserved {
    background: var(--error-color);
}

.amenity-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amenity-schedule,
.amenity-rules {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-text);
    font-size: 13px;
}

.amenity-schedule svg,
.amenity-rules svg {
    color: var(--primary-color);
}

[data-theme="dark"] .amenity-card {
    border: 1px solid rgba(255,255,255,0.1);
}

[data-theme="dark"] .amenity-card:hover {
    border: 1px solid rgba(255,255,255,0.2);
    background: #111111;
}