/* =========================================
   HOST TASK
========================================= */

.host-task-page {
    width: 100%;
}

.host-task-header {
    text-align: center;
    margin-bottom: 14px;
}

.host-task-header h2 {
    font-size: 21px;
    margin-bottom: 5px;
}

.host-task-header p {
    font-size: 12px;
    color: #aeb4c8;
}


/* Daily cycle */

.host-cycle-box {
    margin-bottom: 14px;
    padding: 11px;
    border-radius: 12px;
    background: #11162a;
    border: 1px solid #303954;
    text-align: center;
}

.host-cycle-title {
    font-size: 11px;
    color: #aeb4c8;
    margin-bottom: 4px;
}

.host-cycle-time {
    font-size: 15px;
    font-weight: 700;
    color: #65e928;
}


/* Reward slabs */

.host-slabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.host-slab-card {
    position: relative;
    padding: 13px;
    border-radius: 13px;
    background: #101d19;
    border: 1px solid #24532f;
}

.host-slab-card.ready {
    border: 2px solid #58e719;
    background: #18371b;
    box-shadow: 0 0 10px rgba(70, 230, 20, 0.20);
}

.host-slab-card.claimed {
    border: 2px solid #39e639;
    background: linear-gradient(
        145deg,
        #173d20,
        #102618
    );
}


/* Top row */

.host-slab-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.host-slab-name {
    font-size: 14px;
    font-weight: 700;
}

.host-slab-reward {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}


/* Progress */

.host-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 11px;
    color: #aeb4c8;
}

.host-progress-bar {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 10px;
    background: #242b3d;
}

.host-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    background: linear-gradient(
        to right,
        #65df20,
        #238c00
    );
    transition: width 0.3s ease;
}


/* Status / Claim */

.host-slab-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.host-slab-status {
    font-size: 11px;
    color: #aeb4c8;
}

.host-claim-btn {
    min-width: 90px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #303954;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.host-claim-btn.ready {
    background: linear-gradient(
        to bottom,
        #65df20,
        #238c00
    );
}

.host-claim-btn.claimed {
    background: #28d83b;
}

.host-claim-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}


/* Message */

.host-task-message {
    min-height: 20px;
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: #aeb4c8;
}


/* Rules */

.host-rules-box {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    background: #11162a;
    border: 1px solid #303954;
}

.host-rules-box h3 {
    font-size: 13px;
    margin-bottom: 7px;
}

.host-rules-box p {
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 1.5;
    color: #aeb4c8;
}

/* =========================================
   HOST REWARD ALERT MODAL
========================================= */

.host-reward-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.72);
}

.host-reward-modal.show {
    display: flex;
}

.host-reward-modal-box {
    width: 100%;
    max-width: 320px;

    padding: 22px 18px;

    border-radius: 16px;

    background: #11162a;
    border: 1px solid #303954;

    text-align: center;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.host-reward-modal-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 70, 70, 0.12);
    border: 1px solid rgba(255, 70, 70, 0.35);

    font-size: 25px;
}

.host-reward-modal-box h3 {
    margin: 0 0 8px;

    font-size: 16px;
    color: #ffffff;
}

.host-reward-modal-box p {
    margin: 0 0 18px;

    font-size: 12px;
    line-height: 1.5;

    color: #aeb4c8;
}

.host-reward-modal-ok {
    width: 100%;

    padding: 10px 14px;

    border: 0;
    border-radius: 9px;

    background: linear-gradient(
        to bottom,
        #65df20,
        #238c00
    );

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.host-reward-modal-ok:active {
    transform: scale(0.98);
}

