@import url('login.css');

/* Role Switcher (Estudante / Professor) */
.role-switch-container {
    background-color: #F3F4F6;
    border-radius: 8px;
    padding: 4px;
    height: 52px;
    display: flex;
    margin-bottom: 24px;
    width: 100%;
}

.role-btn {
    flex: 1;
    padding: 8px;
    border: none;
    background: transparent;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500; /* Inter Medium/SemiBold look */
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.role-btn.active {
    background-color: #FFFFFF;
    color: #000000;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.role-btn i {
    font-size: 14px;
}

/* Ajuste de espaçamento dos inputs */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    font-size: 14px; /* Um pouco menor conforme print */
    color: #1F2937;
    font-weight: 500;
}

/* Checkbox Termos */
.terms-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    margin-bottom: 24px;
}

.terms-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1.5px solid #9CA3AF;
    border-radius: 4px;
    cursor: pointer;
    background-color: #FFFFFF;
    flex-shrink: 0;
    position: relative;
}

.terms-checkbox:checked {
    background-color: #FFD700;
    border-color: #FFD700;
}

.terms-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-text {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.4;
    font-weight: 400;
    margin-top: 0;
}

.terms-link {
    color: #EAB308;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Botão Criar Conta */
.btn-create {
    width: 100%;
    height: 56px;
    padding: 12px;
    background-color: #FFD700;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-create:hover {
    background-color: #FFC700;
}

/* Footer Link (Login) */
.footer-login-text {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #4B5563;
}

.footer-login-link {
    color: #EAB308;
    font-weight: 500;
    text-decoration: none;
}

.footer-login-link:hover {
    text-decoration: underline;
}

/* Ajustes no Card herdado */
.login-card {
    width: 448px;
    padding: 33px; /* Ajuste fino */
    box-shadow: 0px 14px 20px 20px rgba(0, 0, 0, 0.1);
}

/* Input com erro */
.form-input.error {
    border-color: #EF4444;
    background-color: #fff;
}

.form-input.error:focus {
    border-color: #EF4444;
}
