.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Vazirmatn, Arial, sans-serif;
    direction: rtl;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
    text-align: center;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1rem;
    color: #4b5563;
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.form-container {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.lfo-order-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

select, input[type="number"], input[type="text"], input[type="tel"], textarea {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    width: 100%;
    box-sizing: border-box;
}

.form-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.hidden {
    display: none;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
}

.size-button {
    background-color: #e5e7eb;
    padding: 0.5rem;
    border-radius: 0.25rem;
    text-align: center;
    cursor: pointer;
}

.size-button:hover {
    background-color: #d1d5db;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.design-info {
    margin-top: 0.5rem;
    padding: 1rem;
    background-color: #e5e7eb;
    border-radius: 0.25rem;
}

.design-info p {
    margin: 0.5rem 0;
}

.submit-button {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.submit-button:hover {
    background-color: #1e40af;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.modal-button {
    background-color: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
}

.modal-button:hover {
    background-color: #1e40af;
}

footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #6b7280;
}