/* student-login-style.css */
@import url('https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@400;600;700&display=swap');

/* Base font for all elements */
body, .student-portal-wrapper, .form-control, .submit-button,
.login-title, .welcome-title, .student-detail, .content-message,
.logout-button, .login-message, .form-group label,
.student-info-card h3, .student-info-card p, .student-info-card span {
    font-family: 'Anek Bangla', sans-serif;
}

/* General Styling for the Container */
.student-portal-wrapper {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Include padding in element's total width and height */
    text-align: center;
}

/* Login Form Styling */
.login-form-container {
    padding: 20px;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.student-login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.student-login-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
    outline: none;
}

/* Removed password-field-wrapper and password-toggle styles */

.submit-button {
    width: 100%;
    padding: 12px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #005a87;
    transform: translateY(-1px);
}

.login-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

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

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

/* Protected Content Styling */
.student-content-container {
    padding: 20px;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.welcome-title span {
    color: #0073aa;
    font-weight: 700;
}

/* Student Info Card Styling */
.student-info-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.student-info-card h3 {
    font-size: 22px;
    color: #0073aa;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.student-info-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

.student-info-card p span {
    font-weight: 600;
    color: #333;
}

.content-message {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
    line-height: 1.6;
}

.logout-button {
    padding: 10px 20px;
    background-color: #dc3232;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.logout-button:hover {
    background-color: #c02b2b;
    transform: translateY(-1px);
}

/* Elementor কন্টেইনারটি ডিফল্টভাবে হাইড করে রাখা হয়েছে */
/* এই আইডি Elementor পেজে আপনার কন্টেইনারের CSS ID হিসেবে সেট করতে হবে */
#elementor-student-content {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .student-portal-wrapper {
        margin: 20px auto;
        padding: 20px;
        border-radius: 8px;
    }

    .login-title, .welcome-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .form-control, .submit-button, .logout-button {
        padding: 10px 12px;
        font-size: 15px;
    }

    .student-info-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .student-info-card p {
        font-size: 15px;
    }

    .content-message {
        font-size: 15px;
    }
}
