.fusion-submit-btn,
.fusion-verify-btn {
    background: linear-gradient(to right, rgb(182, 138, 31), rgb(220, 175, 48), rgb(182, 138, 31)) !important;
}

input#fusionPhoneNumber {
    padding: 15px !important;
}

.fusion-link {
    color: #19285f !important;
}

.event-list-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    /* full page width */
    width: 100vw;
    margin-left: calc(-50vw + 50%);

    /* height */
    min-height: 200px;
    padding: 40px 24px;

    background: linear-gradient(to right,
            #101828 0%,
            #142b50 30%,
            #203186 50%,
            #142b50 70%,
            #101828 100%);
    margin-bottom: 50px;
    box-sizing: border-box;
}

.header-title {
    font-size: 60px;
    font-weight: bold;
    color: white;
}

.header-breadcrumb {
    display: flex;
    flex-direction: row;
    gap: 7px;
    font-size: 16px;
    color: #d1d5db;
}

.header-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-size: small;
    font-weight: 400;
}

.header-breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-current {
    font-weight: 400;
    font-size: small;
    color: #589add;
}

.list-filter-button {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 10px;
}

.filter-button {
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: small;
    font-weight: 500;
    margin-bottom: 20px;
    cursor: pointer;

    /* default unselected state */
    background-color: rgb(237, 237, 237);
    color: #122250;
    transition: all 0.2s;
}

/* hover for unselected buttons */
.filter-button:not(.active):hover {
    background-color: #bebfc2;
}

/* selected button */
.filter-button.active {
    background-color: #122250;
    color: white;
}

/* ========== Event Container ========== */
#event-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    /* ensures cards have equal height */
}

/* ========== Event Card ========== */
.event-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ========== Image Section ========== */
.event-image img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ========== Info Section ========== */
.event-info {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    /* pushes actions to bottom */
}

.event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.event-meta i {
    color: #888;
    margin-right: 6px;
}

.event-status,
.event-date,
.event-time {
    background-color: rgb(239, 233, 233);
    border-radius: 5px;
    padding: 2px 6px;
}

.event-location {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #444;
}

.event-location i {
    color: #777;
}

/* ========== Actions Section ========== */
.event-actions {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* stretch full width */
    gap: 8px;
    border-top: 1px solid #eee;
    margin-top: auto;
    /* stick to bottom */
}

.event-action-buttons {
    display: flex;
    flex-direction: row;
    /* stack buttons vertically full width */
    gap: 10px;
    width: 100%;
}

.event-actions .btn {
    display: block;
    width: 100%;
    /* full width */
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}

.event-actions .btn-primary {
    background: #13294b;
    color: #fff;
}

.event-actions .btn-primary:hover {
    background: #1d3a70;
}

.event-actions .btn-success {
    background: #28a745;
    color: #fff;
    border: 0;
}

.event-actions .btn-success:hover {
    background: #218838;
}

.event-attendees-count {
    font-size: 0.85rem;
    color: #555;
}

.event-attendees-img {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    align-self: stretch;
}

.event-attendee-img-overlap {
    display: flex;
    align-items: center;
}

.event-circle-img {
    width: 32px;

    height: 32px;
    margin-left: -8px;
    background-color: #a84444;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-circle-img:first-child {
    margin-left: 0;
}

.event-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.event-circle-img p {
    margin-bottom: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    /* center horizontally */
    align-items: center;
    /* center vertically if needed */
    gap: 10px;
    /* space between buttons */
    margin-top: 30px;
    flex-wrap: wrap;
    /* optional: wrap to next line if too many pages */
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-btn:hover {
    background: #f5f5f5;
}

.page-btn.active {
    background: #122250;
    color: white;
    border-color: #122250;
}

/* Responsive tweaks (optional) */
@media (max-width: 1024px) {
    #event-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #event-container {
        grid-template-columns: 1fr;
    }

    .event-image img {
        height: 250px;
    }
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3498db;
    /* Spinner color */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
    /* Center */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}