/**
 * Jiwaji University Login Page Styles
 * Independent stylesheet for jiwaji1 login module
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 15px;
}

/* Header Section */
.header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.logo {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-fallback {
    width: 100px;
    height: 100px;
    background-color: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 24px;
}

.header-text {
    flex: 1;
}

.university-name {
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 5px;
}

.established {
    font-size: 16px;
    color: #000000;
    margin-bottom: 10px;
}

.university-name-hindi {
    font-size: 16px;
    color: #000000;
    margin-bottom: 10px;
}

.accreditation {
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    color: #dc3545;
    margin-top: 5px;
}

/* Form Section */
.login-form {
    margin-top: 30px;
    border: 2px solid #003366;
    border-radius: 8px;
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.radio-group {
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.radio-option label {
    font-size: 16px;
    color: #000000;
    cursor: pointer;
}

.input-section {
    border: 2px solid #003366;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.input-section label {
    display: block;
    font-size: 16px;
    color: #000000;
    margin-bottom: 8px;
}

.input-section input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
}

.required {
    color: #dc3545;
    margin-left: 3px;
}

/* Captcha Section */
.captcha-section {
    background-color: #ffe6e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.captcha-question {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}

.captcha-input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    width: 100px;
}

.refresh-captcha {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-captcha svg {
    width: 24px;
    height: 24px;
    fill: #666666;
}

.refresh-captcha:hover svg {
    fill: #003366;
}

/* Submit Button */
.submit-section {
    text-align: center;
    margin-top: 30px;
}

.proceed-btn {
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.proceed-btn:hover {
    background-color: #0052a3;
}

.proceed-btn:active {
    background-color: #003d7a;
}

/* Error Messages */
.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .university-name {
        font-size: 24px;
    }

    .captcha-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .captcha-input {
        width: 100%;
    }
}