.custom-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
select,
textarea,
.persian-date-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.persian-date-input {
    background-color: #fff;
    cursor: pointer;
    text-align: right;
}

.submit-btn {
    background: #a59866;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

#form-message.success {
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    display: block;
}

#form-message.error {
    background: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    display: block;
}

.pwt-datepicker {
    z-index: 999999 !important;
    font-family: Tahoma, sans-serif !important;
    direction: rtl !important;
}

.pwt-datepicker-rtl {
    right: auto !important;
    left: 0 !important;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
}

#language {
    direction: rtl;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: left center;
    padding-right: 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    max-width: 800px;
    border-radius: 5px;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.close-modal {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: black;
}

.modal-body p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal-body strong {
    display: inline-block;
    width: 150px;
}





