.event-view-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Raleway', sans-serif;
}

.event-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.event-top-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-back-calendar,
.btn-edit,
.btn-delete,
.btn-calendar {
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-back-calendar {
    color: #0B2951;
    background: #f1f4f8;
}

.btn-back-calendar:hover {
    color: #E98A28;
    text-decoration: none;
}

.btn-calendar {
    background: #278FE2;
    color: white;
}

.btn-edit {
    background: #0B2951;
    color: white;
}

.btn-delete {
    background: #b00020;
    color: white;
}

.event-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 35px;
}

.event-card-header {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 30px;
    align-items: center;
}

.event-date-box {
    width: 110px;
    height: 110px;
    border: 4px solid #d5d5d5;
    border-radius: 12px;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-date-day {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-month {
    font-size: 1.3rem;
    text-transform: uppercase;
}

.event-main-title h1 {
    margin: 0 0 15px;
    color: #0B2951;
    font-size: 2rem;
}

.event-sub-info {
    display: flex;
    gap: 18px;
    color: #555;
    margin-bottom: 10px;
}

.event-location {
    color: #666;
    font-style: italic;
}

.event-category-list {
    margin: 30px 0 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-tag {
    background: #278FE2;
    color: white;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.12);
}

.event-description {
    border-top: 1px solid #eee;
    padding-top: 25px;
    color: #444;
    line-height: 1.7;
}

.event-description h2 {
    color: #278FE2;
    margin-top: 0;
}

.event-meta-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.dropdown-content2 {
    display: none;
    position: absolute;
    background: white;
    min-width: 240px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 6px;
    overflow: hidden;
}

.dropdown-content2.show {
    display: block;
}

.dropdown-content2 a {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content2 a:hover {
    background: #f1f1f1;
    color: #E98A28;
}

@media (max-width: 768px) {
    .event-topbar,
    .event-top-actions,
    .event-sub-info,
    .event-meta-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-card-header {
        grid-template-columns: 1fr;
    }

    .event-card {
        padding: 22px;
    }
}