/* =========================================================
   El Cibao - Postulaciones de staff
   CSS aislado. No modifica style.css global.
   ========================================================= */

.staff-page-v1 {
    overflow: hidden;
}

.staff-hero-v1 {
    position: relative;
    min-height: clamp(650px, 82vh, 930px);
    display: grid;
    align-items: end;
    padding: 110px 0 62px;
    background: #06080d;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.staff-hero-bg-v1 {
    position: absolute;
    inset: 0;
}

.staff-hero-bg-v1 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-hero-v1::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4,7,9,.94) 0%, rgba(4,7,9,.70) 43%, rgba(4,7,9,.19) 73%, rgba(4,7,9,.61) 100%),
        linear-gradient(180deg, rgba(4,7,9,.15) 0%, rgba(4,7,9,.05) 42%, rgba(4,7,9,.96) 100%);
}

.staff-hero-inner-v1 {
    position: relative;
    z-index: 2;
}

.staff-hero-card-v1 {
    max-width: 850px;
    padding: clamp(21px, 3.2vw, 37px);
    border-radius: 34px;
    background: rgba(5,8,11,.69);
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 32px 110px rgba(0,0,0,.43);
    backdrop-filter: blur(13px);
}

.staff-hero-card-v1 h1 {
    margin: 14px 0 16px;
    color: #fff;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: .86;
    letter-spacing: -.07em;
}

.staff-hero-card-v1 p {
    max-width: 760px;
    margin: 0;
    color: rgba(245,248,255,.78);
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.7;
}

.staff-hero-actions-v1 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.staff-role-grid-v1 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.staff-role-card-v1,
.staff-promotion-card-v1,
.staff-form-card-v1,
.staff-account-card-v1,
.staff-admin-card-v1 {
    border-radius: 27px;
    background:
        radial-gradient(circle at 100% 0%, rgba(71,150,75,.14), transparent 38%),
        rgba(255,255,255,.052);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 25px 75px rgba(0,0,0,.18);
}

.staff-role-card-v1 {
    padding: clamp(18px, 2.6vw, 27px);
}

.staff-role-card-v1 > b {
    display: block;
    margin-bottom: 13px;
    font-size: 2.1rem;
}

.staff-role-card-v1 h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.28rem, 2.3vw, 1.9rem);
    line-height: 1.02;
}

.staff-role-card-v1 p,
.staff-promotion-card-v1 p,
.staff-promotion-card-v1 small,
.staff-form-card-v1 > p,
.staff-account-card-v1 p,
.staff-account-card-v1 li {
    color: rgba(245,248,255,.7);
    line-height: 1.68;
}

.staff-promotion-section-v1 {
    padding-top: 12px;
}

.staff-promotion-card-v1 {
    padding: clamp(22px, 4vw, 42px);
    background:
        radial-gradient(circle at 0% 0%, rgba(240,184,91,.16), transparent 38%),
        radial-gradient(circle at 100% 0%, rgba(71,150,75,.14), transparent 35%),
        rgba(255,255,255,.052);
}

.staff-promotion-card-v1 h2,
.staff-form-card-v1 h2,
.staff-account-card-v1 h2 {
    margin: 8px 0 11px;
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 4rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.staff-promotion-card-v1 small {
    display: block;
    margin-top: 14px;
    font-size: .86rem;
}

.staff-form-layout-v1 {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .68fr);
    gap: 16px;
    align-items: start;
}

.staff-form-card-v1,
.staff-account-card-v1 {
    padding: clamp(20px, 3vw, 32px);
}

.staff-form-v1 {
    display: grid;
    gap: 17px;
    margin-top: 21px;
}

.staff-form-v1 fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.staff-form-v1 legend,
.staff-form-v1 > label {
    color: rgba(255,255,255,.9);
    font-weight: 900;
    font-size: .9rem;
}

.staff-form-v1 > label {
    display: grid;
    gap: 7px;
}

.staff-form-v1 input[type="text"],
.staff-form-v1 textarea {
    width: 100%;
    min-width: 0;
}

.staff-form-v1 textarea {
    resize: vertical;
}

.staff-form-v1 small {
    color: rgba(245,248,255,.55);
    font-weight: 600;
}

.staff-role-options-v1 {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.staff-role-option-v1 {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 19px;
    cursor: pointer;
    background: rgba(255,255,255,.048);
    border: 1px solid rgba(255,255,255,.09);
}

.staff-role-option-v1:hover {
    border-color: rgba(255,255,255,.19);
}

.staff-role-option-v1 input {
    margin-top: 4px;
}

.staff-role-option-v1 b,
.staff-role-option-v1 small {
    display: block;
}

.staff-role-option-v1 b {
    color: #fff;
}

.staff-role-option-v1 small {
    margin-top: 5px;
    color: rgba(245,248,255,.61);
    line-height: 1.5;
}

.staff-confirm-v1 {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px !important;
    padding: 13px 14px;
    border-radius: 17px;
    background: rgba(240,184,91,.07);
    border: 1px solid rgba(240,184,91,.16);
}

.staff-confirm-v1 input {
    margin-top: 4px;
}

.staff-login-box-v1,
.staff-current-status-v1 {
    margin-top: 18px;
    padding: 16px;
    border-radius: 19px;
    background: rgba(71,150,75,.09);
    border: 1px solid rgba(71,150,75,.18);
}

.staff-login-box-v1 strong,
.staff-current-status-v1 strong {
    color: #fff;
}

.staff-login-box-v1 p {
    color: rgba(245,248,255,.68);
}

.staff-current-status-v1 {
    display: grid;
    gap: 7px;
}

.staff-current-status-v1 > div span,
.staff-current-status-v1 > small {
    color: rgba(245,248,255,.58);
}

.staff-current-status-v1 > div strong {
    display: block;
    margin-top: 3px;
    font-size: 1.15rem;
}

.staff-current-status-v1 p {
    margin: 4px 0 0;
    color: rgba(245,248,255,.72);
}

.staff-current-status-v1.is-approved {
    border-color: rgba(53,228,135,.24);
    background: rgba(53,228,135,.08);
}

.staff-current-status-v1.is-rejected {
    border-color: rgba(229,48,61,.25);
    background: rgba(229,48,61,.08);
}

.staff-account-card-v1 {
    position: sticky;
    top: 95px;
}

.staff-account-card-v1 > img {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    object-fit: cover;
    background: #10131d;
}

.staff-account-card-v1 h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.staff-account-card-v1 ul {
    display: grid;
    gap: 9px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.staff-account-card-v1 li {
    padding: 11px 12px;
    border-radius: 15px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
}

/* Admin */
.staff-admin-filter-v1 {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px;
}

.staff-admin-list-v1 {
    display: grid;
    gap: 14px;
}

.staff-admin-card-v1 {
    padding: 18px;
}

.staff-admin-card-v1.is-approved {
    border-color: rgba(53,228,135,.23);
}

.staff-admin-card-v1.is-rejected {
    border-color: rgba(229,48,61,.24);
}

.staff-admin-profile-v1 {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.staff-admin-profile-v1 img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    background: #10131d;
}

.staff-admin-profile-v1 strong,
.staff-admin-profile-v1 span {
    display: block;
    overflow-wrap: anywhere;
}

.staff-admin-profile-v1 strong {
    color: #fff;
}

.staff-admin-profile-v1 span {
    color: rgba(245,248,255,.59);
    font-size: .79rem;
}

.staff-admin-meta-v1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.staff-status-pill-v1,
.staff-admin-roles-v1 span {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 950;
}

.staff-status-pill-v1 {
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.11);
}

.staff-status-pill-v1.is-approved {
    color: #80f5b5;
    border-color: rgba(53,228,135,.22);
    background: rgba(53,228,135,.08);
}

.staff-status-pill-v1.is-rejected {
    color: #ff9aa7;
    border-color: rgba(229,48,61,.22);
    background: rgba(229,48,61,.08);
}

.staff-admin-roles-v1 {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.staff-admin-roles-v1 span {
    color: rgba(255,255,255,.82);
    background: rgba(71,150,75,.09);
    border: 1px solid rgba(71,150,75,.18);
}

.staff-admin-copy-v1 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.staff-admin-copy-v1 section {
    min-width: 0;
    padding: 13px;
    border-radius: 17px;
    background: rgba(255,255,255,.044);
    border: 1px solid rgba(255,255,255,.075);
}

.staff-admin-copy-v1 h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: .88rem;
}

.staff-admin-copy-v1 p {
    margin: 0;
    color: rgba(245,248,255,.67);
    line-height: 1.56;
    overflow-wrap: anywhere;
}

.staff-admin-review-v1 {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.staff-admin-review-v1 label {
    display: grid;
    gap: 7px;
    color: rgba(255,255,255,.84);
    font-weight: 850;
    font-size: .82rem;
}

.staff-admin-review-v1 textarea {
    width: 100%;
    min-width: 0;
    resize: vertical;
}

.staff-admin-actions-v1 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.staff-admin-footer-v1 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.075);
    color: rgba(245,248,255,.5);
    font-size: .75rem;
}

@media (max-width: 920px) {
    .staff-role-grid-v1,
    .staff-admin-copy-v1 {
        grid-template-columns: 1fr;
    }

    .staff-form-layout-v1 {
        grid-template-columns: 1fr;
    }

    .staff-account-card-v1 {
        position: static;
    }
}

@media (max-width: 620px) {
    .staff-admin-profile-v1 {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .staff-admin-profile-v1 > .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .staff-admin-actions-v1 .btn {
        flex: 1 1 calc(50% - 8px);
    }
}
