.login-form-wrapper {
    max-width: 450px;
}

.login-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.student-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.student-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.professor-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.student-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.btn-student {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-student:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.15);
}

.logo-container i {
    font-size: 2rem;
    color: #0d6efd;
}

.role-selector .btn-group .btn {
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
}

.role-selector .btn-group .btn.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
}

.input-group-text {
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

@media (max-width: 991.98px) {
    .student-section, .professor-section {
        min-height: 50vh;
        padding: 2rem 0;
    }
    .student-section { order: 2; }
    .professor-section { order: 1; }
}

@media (max-width: 575.98px) {
    .card-body { padding: 1.5rem !important; }
    .btn-group .btn { font-size: 0.9rem; padding: 8px 12px; }
}
