* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background-color: #f5f5f5;
}
        .left-panel {
    flex: 1;
    background-image: url('login-image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.quote-container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    color: white;
    border-radius: 8px;
    max-width: 80%;
}

.quote {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.quote-author {
    font-style: italic;
    font-size: 0.9rem;
}

.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: white;
}

.back-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: #5e3bee;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-container {
    margin-bottom: 1rem;
    text-align: center;
}

.logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid #ddd;
}

.portal-name {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: #333;
    text-align: center;
}

.welcome-text {
    margin: 1.5rem 0;
    text-align: center;
}

.welcome-heading {
    font-size: 2rem;
    color: #222;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.welcome-subtext {
    font-size: 1rem;
    color: #666;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #5e3bee;
}

.input-icon {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #5e3bee;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me input {
    margin-right: 0.5rem;
}

.forgot-password {
    margin-left: auto;
    color: #5e3bee;
    text-decoration: none;
}

.login-button {
    width: 100%;
    background-color: #5e3bee;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

.login-button:hover {
    background-color: #4e2be0;
}

.register-link {
    text-align: center;
    font-size: 0.9rem;
}

.register-link a {
    color: #5e3bee;
    text-decoration: none;
}

.footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
}

.terms {
    color: #5e3bee;
    text-decoration: none;
}

/* CAPTCHA styles */
.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.captcha-box {
    background-color: #f0f0f0;
    padding: 0.8rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-align: center;
    width: 150px;
    user-select: none;
    margin-right: 10px;
    color: #333;
    position: relative;
    overflow: hidden;
}

.captcha-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.05) 25%, transparent 25%, transparent 50%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.05) 75%, transparent 75%, transparent);
    background-size: 4px 4px;
}

.refresh-captcha {
    background-color: #5e3bee;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .left-panel {
        display: none;
    }
    
    .right-panel {
        padding: 1rem;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .captcha-box {
        margin-bottom: 10px;
        width: 100%;
    }
}

.modal-content {
    border-radius: 12px;
    border: none;
}
.modal-header {
    border-bottom: none;
    justify-content: center;
}
.error-icon {
    width: 50px;
    height: 50px;
    background: #f8d7da;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-icon i {
    color: #dc3545;
    font-size: 24px;
}
.modal-footer {
    border-top: none;
    justify-content: center;
}
.btn-danger {
    width: 100%;
    border-radius: 8px;
}