﻿
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #a94442;
    position: relative;
    padding-bottom: 5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background-color: #a94442;
}

/* Button Navigation */
.notification-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.notification-btn {
    background-color: #b41b18;
    color: white;
    border: none;
    padding: 10px 14px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* flex: 1; */
    min-width: 190px;
}

    .notification-btn:hover {
        background-color: #33b040;
        transform: translateY(-3px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }

    .notification-btn.active {
        background-color: orange;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }

/* Content Sections */
.notification-content {
    margin-bottom: 80px;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .content-section.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Notification Cards */
.notification-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.notification-card {
    background-color: white;
    /* border-radius: 8px; */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notification-header {
    background-color: #a94442;
    color: white;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.notification-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.notification-date {
    font-size: 13px;
    opacity: 0.9;
    margin-right: 15px;
}
.notification-body {
    padding: 17px;
    padding-left: 40px;
}

.notification-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    /* margin-bottom: 10px; */
}
.notification-actions {
    flex-shrink: 0;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

    .download-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        color: white;
        text-decoration: none;
    }

.no-notifications {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

    .no-notifications i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .no-notifications p {
        font-size: 1.1rem;
        margin: 0;
    }

/* Event Cards */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.event-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
.event-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

    .event-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.event-card:hover .event-image img {
    transform: scale(1.05);
}
.event-header {
    padding: 6px 10px;
    background-color: #a94442;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.event-date {
    font-size: 14px;
    opacity: 0.9;
}

.event-body {
    padding: 10px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
    flex-grow: 1;
}


.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 15px;
    color: #666;
}

.event-status {
    background-color: orange;
    color: #495057;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .notification-nav {
        gap: 12px;
    }

    .notification-btn {
        padding: 10px 12px;
        font-size: 15px;
        min-width: 110px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .notification-grid,
    .event-grid {
        grid-template-columns: 1fr;
    }
    .event-image {
        height: 180px;
    }
    .notification-nav {
        flex-direction: row;
        gap: 8px;
    }

    .notification-btn {
        padding: 10px 8px;
        font-size: 14px;
        min-width: 90px;
    }
    .notification-header {
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .notification-nav {
        flex-direction: row;
        margin-top: 30px;
        gap: 6px;
    }

    .notification-btn {
        width: auto;
        padding: 8px 6px;
        font-size: 15px;
        min-width: 100px;
    }

    .notification-header,
    .event-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }
    .event-image {
        height: 160px;
    }
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}


