.crl-form-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.crl-form-container h2 {
    text-align: center;
}

.crl-form-group {
    margin-bottom: 20px;
}
.crl-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.crl-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button[type="submit"] {
    background: #003D78;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    font-size: 16px;
}

/* Messages */
.crl-message,
.crl-error,
.crl-success {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    text-align: center;
}
.crl-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
.crl-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.crl-content-blur {
    position: relative;
}
.crl-content-blur::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(5px);
    z-index: 9998;
}

.crl-auth-overlay {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
}

.crl-close-btn {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.crl-toggle {
    text-align: center;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

p.crl-forgot-password {
    text-align: center !important;
    margin-top: 20px !important;
}

.crl-forgot-password a {
    color: #003D78;
    text-decoration: none;
    font-size: 0.9em;
}

.crl-forgot-password a:hover {
    text-decoration: underline;
}

/* Add responsive styles */
@media (max-width: 480px) {
    .crl-auth-overlay {
        width: 95%;
        padding: 20px;
    }
    
    .crl-form-container {
        padding: 20px;
    }
    
    button[type="submit"] {
        width: 100%;
        padding: 12px;
    }
}

.loged-in-direction{
    text-align: center !important;
    margin-top: -30px;
}