/* ============================================================
   WOY — PENDING REGISTRATIONS
   ============================================================ */

.yoz-pending-page {
    width: 100%;
    padding: 32px;
}

.yoz-pending-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(145, 119, 255, 0.28);
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        rgba(7, 25, 45, 0.96),
        rgba(5, 20, 37, 0.98)
    );
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}


/* ============================================================
   HEADER
   ============================================================ */

.yoz-pending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yoz-pending-header-content h1 {
    margin: 0;
    color: #f4f5fb;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.yoz-pending-header-content p {
    margin: 7px 0 0;
    color: rgba(220, 226, 239, 0.68);
    font-size: 14px;
}


/* ============================================================
   COMPTEUR
   ============================================================ */

.yoz-pending-count {
    min-width: 115px;
    padding: 12px 18px;
    border: 1px solid rgba(145, 119, 255, 0.25);
    border-radius: 10px;
    text-align: center;
    background: rgba(10, 30, 52, 0.55);
}

.yoz-pending-count strong {
    display: block;
    color: #f4f5fb;
    font-size: 22px;
    line-height: 1.1;
}

.yoz-pending-count span {
    display: block;
    margin-top: 3px;
    color: rgba(220, 226, 239, 0.62);
    font-size: 11px;
}


/* ============================================================
   TABLE
   ============================================================ */

.yoz-pending-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.yoz-pending-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.yoz-pending-table th {
    padding: 15px 24px;
    color: rgba(238, 242, 250, 0.78);
    background: rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.yoz-pending-table td {
    padding: 16px 24px;
    color: #e7eaf1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13px;
    vertical-align: middle;
}

.yoz-pending-table tbody tr {
    transition: background 0.15s ease;
}

.yoz-pending-table tbody tr:hover {
    background: rgba(145, 119, 255, 0.045);
}

.yoz-pending-table tbody tr:last-child td {
    border-bottom: 0;
}


/* ============================================================
   JOUEUR / EMAIL
   ============================================================ */

.yoz-pending-player {
    color: #f3f4f8;
    font-size: 14px;
}

.yoz-pending-email {
    color: rgba(220, 226, 239, 0.72);
}


/* ============================================================
   ROLE
   ============================================================ */

.yoz-pending-role-form {
    margin: 0;
}

.yoz-pending-role-select {
    width: 180px;
    height: 34px;
    padding: 5px 32px 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background-color: #fff;
    color: #222;
    font-size: 12px;
}


/* ============================================================
   ACTIONS
   ============================================================ */

.yoz-pending-actions-heading {
    text-align: right !important;
}

.yoz-pending-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

.yoz-pending-reject-form {
    margin: 0;
}

.yoz-pending-btn {
    height: 34px;
    padding: 0 13px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.yoz-pending-btn:hover {
    transform: translateY(-1px);
}

.yoz-pending-btn-approve {
    border: 1px solid rgba(37, 211, 132, 0.45);
    background: #198754;
    color: #fff;
}

.yoz-pending-btn-approve:hover {
    background: #20a064;
}

.yoz-pending-btn-reject {
    border: 1px solid rgba(220, 53, 69, 0.75);
    background: transparent;
    color: #ff5364;
}

.yoz-pending-btn-reject:hover {
    background: rgba(220, 53, 69, 0.10);
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.yoz-pending-empty {
    padding: 70px 30px;
    text-align: center;
}

.yoz-pending-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border: 1px solid rgba(145, 119, 255, 0.45);
    border-radius: 50%;
    color: #b79cff;
    font-size: 22px;
}

.yoz-pending-empty h2 {
    margin: 0;
    color: #f4f5fb;
    font-size: 18px;
}

.yoz-pending-empty p {
    margin: 8px 0 0;
    color: rgba(220, 226, 239, 0.62);
    font-size: 13px;
}


/* ============================================================
   CARD FOOTER
   ============================================================ */

.yoz-pending-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yoz-pending-card-footer strong {
    display: block;
    color: #e9ebf2;
    font-size: 13px;
}

.yoz-pending-card-footer span {
    display: block;
    margin-top: 2px;
    color: rgba(220, 226, 239, 0.55);
    font-size: 11px;
}

.yoz-pending-footer-quote {
    color: rgba(213, 196, 255, 0.78) !important;
    font-family: Georgia, serif;
    font-size: 13px !important;
    font-style: italic;
}

/* =========================================================
   FLASH MESSAGES — WIZARD OF YOZ
   ========================================================= */

.yoz-flash {
    width: min(1100px, calc(100% - 40px));
    margin: 24px auto 0;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(7, 20, 34, 0.92);
    color: #f5f1e6;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Succès */
.yoz-flash-success {
    border-color: rgba(82, 190, 120, 0.65);
    color: #d9f5e2;
}

/* Erreur */
.yoz-flash-error {
    border-color: rgba(220, 70, 70, 0.7);
    color: #ffdede;
}

/* Avertissement */
.yoz-flash-warning {
    border-color: rgba(220, 170, 60, 0.7);
    color: #fff1c7;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

    .yoz-pending-page {
        padding: 20px 14px;
    }

    .yoz-pending-header {
        align-items: flex-start;
        padding: 22px 20px;
    }

    .yoz-pending-header-content h1 {
        font-size: 24px;
    }

    .yoz-pending-count {
        min-width: 90px;
        padding: 10px 12px;
    }

    .yoz-pending-table th,
    .yoz-pending-table td {
        padding: 13px 16px;
    }

    .yoz-pending-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

}