.main-login {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    direction: ltr;
    text-align: left;
}

.password-wrapper input {
    flex: 1;
    padding-left: 40px !important;
}

.toggle-password {
    position: absolute;
    left: 12px;
    cursor: pointer;
    color: #888;
    font-size: 18px;
    background: none;
    border: none;
    z-index: 10;
}

.toggle-password:hover {
    color: #333;
}

.captcha-wrapper {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 8px;
    background: #2c3e50;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    user-select: none;
}

.captcha-refresh {
    background: #6c757d;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 10px;
}

.captcha-refresh:hover {
    background: #5a6268;
}

.captcha-input {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    text-align: center;
    letter-spacing: 2px;
}

.main-login .btn-primary {
    margin-top: 10px;
}

.forget-link,
.register-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    text-decoration: none;
    padding: 5px;
}

.forget-link {
    color: #a7285d;
}

.register-link {
    color: #28a745;
}

.forget-link:hover,
.register-link:hover {
    text-decoration: underline;
}

.checkbox-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin: 15px 0;
}

.checkbox-inline input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.success {
    color: #28a745;
    background: #d4edda;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .main-login {
        width: 90%;
        padding: 20px;
    }
    
    .captcha-code {
        font-size: 20px;
        letter-spacing: 5px;
        padding: 5px 10px;
    }
    
    .form-group label {
        font-size: 9pt;
    }
}