/**
 * =========================================================
 * ICHEVO GRANDFINAL RESULT CHECKER
 * =========================================================
 */

.ichevo-gf-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    overflow-y: auto;
}

.ichevo-gf-modal.is-active {
    display: flex;
}

.ichevo-gf-popup {
    position: relative;

    width: 100%;
    max-width: 620px;

    max-height: calc(100vh - 48px);

    overflow-y: auto;

    background: #ffffff;

    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.28);

    animation: ichevoGfPopupIn 0.35s ease;
}

@keyframes ichevoGfPopupIn {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

.ichevo-gf-close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.08);

    color: #111111;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    z-index: 5;

    transition: 0.2s ease;
}

.ichevo-gf-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

/**
 * =========================================================
 * HEADER
 * =========================================================
 */

.ichevo-gf-header {
    padding: 42px 32px 30px;

    text-align: center;

    background: linear-gradient(
        135deg,
        #f8f8f8,
        #ffffff
    );
}

.ichevo-gf-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 34px;
    font-weight: 800;
}

.ichevo-gf-popup.status-lolos .ichevo-gf-icon {
    background: #e8f7ee;
    color: #159447;
}

.ichevo-gf-popup.status-waiting .ichevo-gf-icon {
    background: #fff4df;
    color: #d88a00;
}

.ichevo-gf-popup.status-tidak-lolos .ichevo-gf-icon,
.ichevo-gf-popup.status-not-found .ichevo-gf-icon {
    background: #fdecec;
    color: #d83333;
}

.ichevo-gf-title {
    margin: 0;

    font-size: 30px;
    line-height: 1.15;

    font-weight: 800;

    color: #111111;
}

.ichevo-gf-subtitle {
    margin: 10px 0 0;

    font-size: 17px;
    line-height: 1.5;

    color: #555555;
}

/**
 * =========================================================
 * CONTENT
 * =========================================================
 */

.ichevo-gf-content {
    padding: 30px 32px 34px;
}

.ichevo-gf-team {
    margin-bottom: 22px;

    padding: 16px 18px;

    border-radius: 14px;

    background: #f6f6f6;

    text-align: center;
}

.ichevo-gf-team-label {
    display: block;

    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.06em;

    color: #777777;
}

.ichevo-gf-team-name {
    display: block;

    font-size: 18px;
    font-weight: 800;

    color: #111111;
}

.ichevo-gf-message {
    font-size: 16px;
    line-height: 1.65;

    color: #333333;

    text-align: center;
}

.ichevo-gf-message p {
    margin: 0 0 15px;
}

.ichevo-gf-message p:last-child {
    margin-bottom: 0;
}

/**
 * =========================================================
 * DEADLINE BOX
 * =========================================================
 */

.ichevo-gf-deadline {
    margin-top: 22px;

    padding: 18px 20px;

    border-radius: 15px;

    background: #fff7e8;

    border: 1px solid #f4d89e;

    text-align: center;
}

.ichevo-gf-deadline-label {
    display: block;

    margin-bottom: 5px;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    color: #9a6900;
}

.ichevo-gf-deadline-value {
    font-size: 17px;

    font-weight: 800;

    color: #6f4b00;
}

/**
 * =========================================================
 * BUTTONS
 * =========================================================
 */

.ichevo-gf-buttons {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 26px;
}

.ichevo-gf-button {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 14px;

    border-radius: 12px;

    text-decoration: none !important;

    font-size: 14px;
    line-height: 1.3;

    font-weight: 800;

    text-align: center;

    background: #111111;
    color: #ffffff !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.ichevo-gf-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);

    opacity: 0.92;
}

.ichevo-gf-button.drive {
    background: #1a73e8;
}

.ichevo-gf-button.sk {
    background: #159447;
}

.ichevo-gf-button.wa {
    background: #25d366;
}

/**
 * =========================================================
 * LOADING
 * =========================================================
 */

.ichevo-gf-loading {
    position: fixed;

    inset: 0;

    z-index: 1000000;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.55);

    backdrop-filter: blur(5px);
}

.ichevo-gf-loading.is-active {
    display: flex;
}

.ichevo-gf-loading-box {
    padding: 25px 30px;

    border-radius: 18px;

    background: #ffffff;

    text-align: center;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.ichevo-gf-spinner {
    width: 42px;
    height: 42px;

    margin: 0 auto 15px;

    border: 4px solid #eeeeee;
    border-top-color: #111111;

    border-radius: 50%;

    animation: ichevoGfSpin 0.8s linear infinite;
}

@keyframes ichevoGfSpin {

    to {
        transform: rotate(360deg);
    }

}

.ichevo-gf-loading-text {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
}

/**
 * =========================================================
 * MOBILE
 * =========================================================
 */

@media (max-width: 600px) {

    .ichevo-gf-modal {
        padding: 12px;
    }

    .ichevo-gf-popup {
        max-height: calc(100vh - 24px);
        border-radius: 20px;
    }

    .ichevo-gf-header {
        padding: 38px 22px 25px;
    }

    .ichevo-gf-content {
        padding: 25px 20px 28px;
    }

    .ichevo-gf-title {
        font-size: 25px;
    }

    .ichevo-gf-subtitle {
        font-size: 15px;
    }

    .ichevo-gf-message {
        font-size: 15px;
    }

    .ichevo-gf-buttons {
        grid-template-columns: 1fr;
    }

    .ichevo-gf-button {
        min-height: 52px;
    }

}