:root {
    --unimed-green: #00995D;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.unimed-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.logo-img {
    max-width: 180px;
}

.app-title {
    color: var(--unimed-green);
    font-size: 1.2rem;
    font-weight: 600;
}

.card-custom {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 6px solid var(--unimed-green);
    max-width: 550px;
    margin: 0 auto;
}

.btn-unimed {
    background-color: var(--unimed-green);
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-unimed:hover:not(:disabled) {
    background-color: #007a4d;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: white;
}

.btn-unimed:disabled {
    background-color: var(--unimed-green);
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.3);
    color: rgba(255,255,255,0.8);
}

.form-control:focus, .form-select:focus {
    border-color: var(--unimed-green);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 93, 0.25);
}

.form-select:hover {
    border-color: var(--unimed-green);
}

/* Custom Dropdown Styling */
.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--unimed-green);
    color: white;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #007a4d;
    color: white;
}

/* Redefinir inputs do token */
.token-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.token-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
}

/* Estilo para validação visual de senha */
.input-group-text {
    border-left: none;
    transition: all 0.3s ease;
    background-color: white;
}

.form-control {
    border-right: none;
}

/* Esconder o icone nativo de 'eye' do edge/chrome */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* Responsividade para telas pequenas */
@media (max-width: 480px) {
    .card-custom {
        padding: 30px 20px;
    }
}

@media (max-width: 400px) {
    .token-container {
        gap: 6px;
    }
    
    .token-input {
        width: 38px;
        height: 50px;
        font-size: 20px;
    }

    .app-title {
        font-size: 1rem;
    }
}

@media (max-width: 350px) {
    .token-container {
        gap: 4px;
    }
    
    .token-input {
        width: 34px;
        height: 45px;
        font-size: 18px;
    }
}