/* BIG American OS — Modal de Recuperação de Senha (< 300 LOC) */
.campo-senha-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.campo-senha-wrapper .input-container {
    flex: 1;
    min-width: 0;
}
.btn-recuperar-senha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--input-bg, #141417);
    border: 1px solid var(--input-border, #27272a);
    border-radius: 12px;
    color: var(--text-muted, #a1a1aa);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: none !important;
}
.btn-recuperar-senha:hover {
    color: #F11;
    border-color: rgba(255, 17, 17, 0.4);
    background: rgba(255, 17, 17, 0.08);
}
.btn-recuperar-senha:active {
    transform: scale(0.96);
}

/* Modal Overlay & Box */
.modal-recuperacao-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.22s ease-out;
}
.modal-recuperacao-overlay.active {
    opacity: 1;
}

.modal-recuperacao-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px 22px;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-recuperacao-overlay.active .modal-recuperacao-box {
    transform: scale(1) translateY(0);
}

.modal-recuperacao-fechar {
    position: absolute;
    top: 14px; right: 14px;
    background: transparent;
    border: none;
    color: #71717a;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.15s ease;
    box-shadow: none !important;
}
.modal-recuperacao-fechar:hover {
    color: #ffffff;
}

.modal-recuperacao-header {
    text-align: center;
    margin-bottom: 20px;
}
.modal-recuperacao-icon-wrap {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 12px;
    background: rgba(255, 17, 17, 0.1);
    border: 1px solid rgba(255, 17, 17, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-recuperacao-header h3 {
    margin: 0 0 6px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}
.modal-recuperacao-header p {
    margin: 0;
    font-size: 0.82rem;
    color: #a1a1aa;
    line-height: 1.4;
}

/* Opções de Escolha */
.modal-recuperacao-opcoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-opcao-recuperacao {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    box-shadow: none !important;
}
.btn-opcao-recuperacao:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 17, 17, 0.45);
    transform: translateY(-2px);
}
.btn-opcao-recuperacao:active {
    transform: translateY(0);
}

.opcao-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-tecnica {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.icon-admin {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.opcao-textos {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.opcao-textos strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}
.opcao-textos span {
    font-size: 0.75rem;
    color: #71717a;
}
.opcao-arrow {
    color: #71717a;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}
.btn-opcao-recuperacao:hover .opcao-arrow {
    color: #ffffff;
    transform: translateX(3px);
}
