/* استایل‌های مشابه مرحله اول */
.info-summary {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-summary p {
    margin: 5px 0;
}

.form-box {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-family: Shabnam;
}

.form-group input,
.form-group select {
    flex: 1;
    margin: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.estelam-btn {
    margin-top: 20px;
    background-color: #3281B9;
    color: white;
    padding: 10px 20px;
    border: 3px solid;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
}

.form-box input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 13px;
    width: 95px;
    padding: 6px 20px;
    font-size: 18px;
}

.terms-container {
    margin: 15px 0;
    text-align: right;
    direction: rtl;
    font-family: Shabnam;
}

.terms-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

#accept-rules {
    width: 18px;
    height: 18px;
    margin-left: 5px;
}

.rules-link {
    color: #3498db;
    font-weight: bold;

    cursor: pointer;
}

.rules-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.rules-modal-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s;
    direction: rtl;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rules-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: right;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.rules-modal-body {
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: Shabnam;
}

.rules-modal-footer {
    text-align: left;
    font-family: Shabnam;
    
}

.understand-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.understand-btn:hover {
    background: #2980b9;
}

.button1 {
    font-family: 'Shabnam', sans-serif;
    background-color: #007BFF;
    /* آبی */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    /* حذف خط زیر */
    border-radius: 8px;
    font-size: 16px;
    display: inline-block;
    border: none;
    transition: background-color 0.3s;
}

.button1:hover {
    background-color: #0056b3;
    /* آبی تیره‌تر هنگام هاور */
}

