/* ==================== CSS PROFISSIONAL PARA LOGIN ==================== */

/* Container e Box */
.login-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: white !important;
    max-width: 450px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3) !important;
    padding: 40px;
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 4em;
    color: #667eea;
    margin-bottom: 15px;
}

.login-header h1 {
    color: #1e293b !important;
    font-size: 2em !important;
    font-weight: 800 !important;
    margin-bottom: 10px;
}

.login-header p {
    color: #64748b !important;
    font-size: 1.05em !important;
    font-weight: 600 !important;
}

/* Tabs */
.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: #64748b !important;
    font-size: 1.05em !important;
    font-weight: 700 !important;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #3b82f6 !important;
}

.tab-btn.active {
    color: #3b82f6 !important;
    border-bottom-color: #3b82f6 !important;
}

/* Forms */
.login-form,
.cadastro-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #1e293b !important;
    font-size: 0.95em !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #3b82f6;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1em !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

/* Password Input */
.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    width: 100%;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1.1em;
    padding: 5px;
}

.toggle-password:hover {
    color: #3b82f6;
}

/* Buttons */
.btn-submit {
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    border: none;
    border-radius: 10px;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Link */
.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #667eea !important;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 600;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Alert */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600 !important;
}

.alert i {
    font-size: 1.3em;
}

.alert-success {
    background: #d1fae5;
    color: #065f46 !important;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b !important;
    border-left: 4px solid #ef4444;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 1.6em !important;
    }
    
    .tab-btn {
        padding: 12px;
        font-size: 0.95em !important;
    }
}
