/* Login Page Specific Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.login-body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    min-height: 600px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
}

/* Introduction Panel (Left side for desktop) */
.intro-panel {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('login_prthumb.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: white;
    text-align: center;
}

.intro-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2;
}

.intro-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro-text {
    font-size: 1.1em;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Login Panel (Right side for desktop) */
.login-panel {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

/* Form Styles */
h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 20pt;
}

h3 {
    text-align: center;
    font-weight: normal;
    margin: 20px 0;
    color: #333;
}

.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 2px solid rgb(210, 210, 210);
}

.tab {
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 4px 4px 0 0;
    background-color: #fefeff;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.tab.active {
    background-color: #e1efff;
    border-bottom: 4px solid #007bff;
    color: #007bff;
}

.form-group {
    margin-bottom: 10px;
    position: relative;
}

.icon {
    position: absolute;
    font-size: 1.4em;
    left: 12px;
    top: 12px;
    color: #888888;
    z-index: 1;
}

.form-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    background-color: #fff;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: 500;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

button.cooldown { 
    background-color: #6c757d !important; 
    cursor: not-allowed !important; 
    transform: none !important;
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
}

.error-message {
    font-size: 0.9em;
    margin: 8px 0;
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 8px 12px;
}

.pass_msg {
    font-size: 0.85em;
    margin: 8px 0;
    color: #6c757d;
}

.footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang_select {
    letter-spacing: 0.1rem;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.lang_select a {
    color: #007bff;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

.lang_select a:hover {
    color: #0056b3;
    text-decoration: underline;
}

a {
    text-decoration: none;
}

.ok_symbols, .error_symbols {
    display: inline-block;
    text-align: center;
    font-size: 48px;
    margin-right: 15px;
    vertical-align: middle;
}

.ok_symbols {
    color: #28a745;
}

.error_symbols {
    color: #dc3545;
}

/* Error and success message containers */
.message-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.message-container h3 {
    margin: 0;
    text-align: center;
    font-weight: normal;
}

.turnstile-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.forgot-password-link {
    display: block;
    padding-top: 15px;
    color: #007bff;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Material Icons */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

 .reminder-box {
            background-color: #fff3cd;
            border: 3px solid #f39c12;
            border-radius: 12px;
            padding: 20px;
            margin: 25px 0;
            color: #d35400;
            font-size: 16px;
            line-height: 1.6;
            position: relative;
            box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
            border-left: 6px solid #e67e22;
        }
                
        .reminder-box p {
            margin: 0;
            font-weight: 600;
            display: inline-block;
            vertical-align: middle;
        }
        
        /* Mobile responsive for reminder box */
        @media (max-width: 768px) {
            .reminder-box {
                font-size: 15px;
                padding: 18px;
                margin: 20px 0;
            }
            
            .reminder-box::before {
                font-size: 18px;
                margin-right: 8px;
            }
        }
        
        @media (max-width: 480px) {
            .reminder-box {
                font-size: 14px;
                padding: 15px;
                margin: 15px 0;
            }
            
            .reminder-box::before {
                font-size: 16px;
                margin-right: 6px;
            }
        }

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body.login-body {
        padding: 20px 20px 100px 20px; /* Increased bottom padding for footer */
    }

    .main-container {
        flex-direction: column;
        max-width: 100%;
        min-height: auto;
        margin: 0;
    }

    .intro-panel {
        min-height: 300px;
        padding: 30px 20px;
    }

    .intro-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .intro-text {
        font-size: 1em;
    }

    .login-panel {
        padding: 30px 20px;
    }

    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        margin-top: 0;
        width: 100%;
        padding: 15px 20px;
        border-radius: 0;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        white-space: normal;
        line-height: 1.4;
        z-index: 9999;
    }

    .lang_select {
        font-size: 1em;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    body.login-body {
        padding: 15px 15px 90px 15px; /* Increased bottom padding for footer */
    }

    .intro-panel {
        min-height: 250px;
        padding: 20px 15px;
    }

    .intro-title {
        font-size: 1.5em;
    }

    .login-panel {
        padding: 20px 15px;
    }

    .tab {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .form-group input {
        padding: 12px 12px 12px 40px;
        font-size: 14px;
    }

    .icon {
        font-size: 1.2em;
        left: 10px;
        top: 10px;
    }

    button {
        padding: 12px;
        font-size: 14px;
    }

    .footer {
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 15px;
        font-size: 12px;
        width: 100%;
        border-radius: 0;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }

    .lang_select {
        font-size: 0.9em;
    }
    
}