/* Modal */
#successModal {
    display: none; /* پیش‌فرض مخفی */
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-box {
    background: #1f2532;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Body */
body {
    background: linear-gradient(145deg, #0d1117, #1a1f2b);
    color: #f1f1f1;
    font-family: "Vazirmatn", sans-serif;
}

/* Insurance Card */
.insurance-card {
    background: #1f2532;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 95%;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
    margin: 0 auto;
}

.insurance-card:hover {
    box-shadow: 0 0 35px rgba(0, 123, 255, 0.3);
}

/* User Icon */
.user-icon {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top left, #007bff, #00b4d8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -70px auto 20px auto;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

.user-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

/* Form Controls */
.form-control {
    background-color: #2b3245;
    color: #ffffff !important;
    border: 1px solid #3a4256;
    border-radius: 12px;
    text-align: center;
    transition: 0.2s;
    caret-color: #ffffff;
    text-align: right !important;
}

.form-control::placeholder {
    color: #cccccc;
    opacity: 1;
}

.form-control:focus {
    border-color: #00b4d8;
    box-shadow: 0 0 8px #00b4d8;
    background-color: #242b3a;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, #007bff, #00b4d8);
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Readonly Fields */
.readonly-field {
    background-color: #333 !important;
    color: #fff !important;
    cursor: not-allowed;
}

/* Labels */
.form-label {
    text-align: right !important;
    display: block;
}

/* Responsive */
@media (max-width: 576px) {
    .insurance-card {
        padding: 1.5rem;
    }

    .user-icon {
        width: 80px;
        height: 80px;
    }

    .user-icon svg {
        width: 40px;
        height: 40px;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 8px;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 8px;
    }
}
#userMenu {
    margin-right: 32px; /* یا هر مقدار دلخواه */
}