/* Student Login Registration Styles */

.slr-wrapper {
    max-width: 700px !important;
    width: 100%;
    margin: 50px auto;
    text-align: center;
}

.slr-logo {
    margin-bottom: 30px;
}

.slr-logo img {
    max-width: 250px;
    height: auto;
    display: inline-block;
}

.slr-container {
    width: 100%;
    max-width: 700px !important;
    padding: 40px 50px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    box-sizing: border-box;
}

.slr-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.slr-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.slr-field {
    margin-bottom: 20px;
}

.slr-field.slr-half {
    flex: 1;
    margin-bottom: 0;
}

.slr-field label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.slr-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.slr-field input:focus {
    outline: none;
    border-color: #333;
}

.slr-field input.error {
    border-color: #f44336;
}

.slr-submit {
    width: 100%;
    padding: 14px 20px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.slr-submit:hover {
    background-color: #333;
}

.slr-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.slr-message {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 4px;
    text-align: center;
}

.slr-message:empty {
    display: none;
}

.slr-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.slr-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.slr-links {
    text-align: center;
    margin-top: 25px;
}

.slr-links p {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

.slr-links a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.slr-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .slr-wrapper {
        margin: 20px;
    }
    
    .slr-container {
        padding: 30px 20px;
    }
    
    .slr-form h2 {
        font-size: 24px;
    }
    
    .slr-logo img {
        max-width: 200px;
    }
    
    /* Stack fields on mobile */
    .slr-row {
        flex-direction: column;
        gap: 0;
    }
    
    .slr-field.slr-half {
        margin-bottom: 20px;
    }
}

/* Loading state */
.slr-loading {
    opacity: 0.6;
    pointer-events: none;
}