.container-login {
    min-height: 100vh;
}

.login-section,
.register-section {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.form-group.focused label {
    transform: translateY(-20px) scale(0.8);
    color: #007bff;
}

.form-control {
    border: none;
    border-bottom: 2px solid #dee2e6;
    border-radius: 0;
    padding: 1rem 0;
    font-size: 1.1rem;
    background: transparent;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #007bff;
}

.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn[disabled]:hover {
    transform: none;
}

#loginSection,
#registerSection {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.switch-form-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.switch-form-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-section,
    .register-section {
        padding: 2rem;
        margin: 1rem;
    }
    
    .container-login {
        min-height: auto;
        padding: 2rem 0;
    }
}