/* ===== CONTENEDOR GENERAL ===== */
.auth-container {
    background: #1e1e1e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #fff;
}

/* ===== TARJETA ===== */
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #2a2a2a;
    border-radius: 14px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    justify-content: center;
}

.sign-card {
    width: 100%;
    max-width: 500px;
    background: #2a2a2a;
    border-radius: 14px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    justify-content: center;
}

/* ===== TITULOS ===== */
.auth-card h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.auth-card p {
    text-align: center;
    font-size: 14px;
    color: #38dbc2;
    margin-bottom: 30px;
}

/* ===== CAMPOS ===== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 450;
    margin-bottom: 6px;
    color: #41b7ad;
}

/* Inputs */
.form-control {
    width: 100%;
    background: #1f1f1f;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 12px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control::placeholder {
    color: #888;
}

.form-control:focus {
    outline: none;
    border-color: #03433e;
    box-shadow: 0 0 0 2px rgba(34, 211, 197, 0.15);
}

.double-user-group {
    display: flex;
    justify-content: space-between;
}

/* ===== PASSWORD TOGGLE ===== */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #41b7ad;
}

.eye-icon {
    font-size: 12px;
}

/* ===== BOTON ===== */
.btn-primary {
    width: 100%;
    background: #03433e;
    border: none;
    border-radius: 10px;
    padding: 13px;
    color: #eff5f5;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.25s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: #14a6a2;
    transform: translateY(-1px);
}


.form-links {
    margin-top: 15px;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 15px;
}

.link-btn {
    color: #41b7ad;
    text-decoration: none;
    font-size: 16px;
}

/* ===== ASIGNACIÓN DE CONTADORES ===== */
.counter-section {
    margin-top: 18px;
    padding: 14px;
    background: #242424;
    border: 1px solid #353535;
    border-radius: 12px;
}

.counter-section.is-hidden {
    display: none;
}

.counter-section-title {
    color: #d7f7f4;
    font-size: 16px;
    font-weight: 650;
    margin: 0;
}

.counter-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.counter-badge {
    background: rgba(20, 166, 162, 0.22);
    color: #8fe6dc;
    border: 1px solid rgba(20, 166, 162, 0.45);
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.counter-accordion {
    background: #2b2b2b;
    border: 1px solid #353535;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.counter-accordion:last-child {
    margin-bottom: 0;
}

.counter-accordion-header {
    list-style: none;
    cursor: pointer;
    padding: 11px 14px;
    color: #b8ece5;
    font-size: 14px;
    font-weight: 600;
    background: #303030;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.counter-accordion-header::-webkit-details-marker {
    display: none;
}

.counter-accordion-header::after {
    content: "▾";
    color: #76d9cf;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.counter-accordion[open] .counter-accordion-header::after {
    transform: rotate(180deg);
}

.counter-accordion-body {
    padding: 10px;
}

.counter-selector {
    background: #262626;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 10px 12px;
    max-height: 150px;
    overflow-y: auto;
}

.counter-selector ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.counter-selector li,
.counter-selector > div > div {
    margin: 0 0 8px;
}

.counter-selector li:last-child,
.counter-selector > div > div:last-child {
    margin-bottom: 0;
}

.counter-selector label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e5f9f6;
    font-size: 14px;
    margin: 0;
    cursor: pointer;
}

.counter-selector input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #14a6a2;
    cursor: pointer;
}