body {
    font-family: 'Tahoma', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f2f5;
    color: #333;
}

header {
    background: #004c7f;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 18px;
    margin: 0;
}

.online-status {
    font-size: 12px;
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 20px;
}

.notice-list {
    padding: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.notice {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border-right: 4px solid #004c7f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.notice:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.notice.urgent {
    border-right-color: #dc3545;
    background: #fff5f5;
}

.notice-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.notice-content {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #555;
}

.notice-meta {
    font-size: 11px;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.badge-urgent {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
}

/* دکمه نوتیفیکیشن */
.notification-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px auto;
    display: block;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.notification-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.notification-btn.notification-granted {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.notification-status {
    text-align: center;
    margin: 10px auto;
    font-size: 12px;
    color: #666;
}

.update-indicator {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #004c7f;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: none;
}

.update-indicator.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* استایل پنل مدیریت */
.admin-container {
    max-width: 900px;
    margin: 20px auto;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .notice-list {
        padding: 10px;
    }
    .notice {
        padding: 12px;
    }
    .notice-title {
        font-size: 14px;
    }
    .notice-content {
        font-size: 12px;
    }
    .notification-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}