body {
    font-family: 'IranSans', Arial, sans-serif;
    direction: rtl;
    background-color: #ffffff;
    margin: 0;
    padding: 20px;
    color: #333333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.welcome {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0066cc;
}

.nav-links {
    margin-bottom: 20px;
    background-color: lavender;
    padding: 20px;
}

.nav-links a {
    color: #0066cc;
    text-decoration: none;
    margin-left: 15px;
    font-size: 16px;
}

.nav-links a:hover {
    text-decoration: underline;
}

.section-title {
    font-size: 20px;
    color: #0066cc;
    margin-top: 20px;
    margin-bottom: 20px;
}

.price-form, .price-lists, .product-list-section {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.forms-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px;
}

.form-container {
    flex: 1;
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    align-items: flex-end;
}

.input-group {
    flex: 1;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
}

.checkbox-label {
    margin-top: 5px;
    font-weight: normal;
}

label {
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
}

input, select, button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background: #ffffff;
    color: #333333;
    font-family: 'IranSans', Arial, sans-serif;
    margin-top: 10px;
    
}

input:focus, select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

button {
    background-color: #0066cc;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 40px;
}

button:hover {
    background-color: #004d99;
}

.submit-btn {
    font-family: 'IranSans', Arial, sans-serif;
}

.filter-label {
    font-size: 16px;
    color: #333333;
    margin-bottom: 5px;
}

.filter-input {
    width: 100%;
    margin-bottom: 10px;
}

.price-list {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 5px;
}

.price-list:last-child {
    border-bottom: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #e0e0e0;
    padding: 10px;
    text-align: right;
    color: #333333;
}

th {
    background-color: #0066cc;
    color: #ffffff;
}

a {
    color: #0066cc;
    text-decoration: none;
    background-color: lavender;
    padding: 20px;
}

a:hover {
    text-decoration: underline;
}

.edit-btn {
    background-color: #007bff;
    margin-right: 5px;
    padding: 5px 10px;
}

.edit-btn:hover {
    background-color: #0056b3;
}

.delete-btn {
    background-color: #dc3545;
    padding: 5px 10px;
}

.delete-btn:hover {
    background-color: #c82333;
}

/* استایل‌های پاپ‌آپ */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-content {
    background-color: #ffffff;
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    color: #333333;
    cursor: pointer;
}

.close-btn:hover {
    color: #0066cc;
}

.share-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'IranSans', Arial, sans-serif;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.telegram-btn {
    background-color: #0088cc;
}

.telegram-btn:hover {
    background-color: #006699;
}

.whatsapp-btn {
    background-color: #25d366;
}

.whatsapp-btn:hover {
    background-color: #1da851;
}

@font-face {
    font-family: 'IranSans';
    src: url('fonts/IranSans.woff2') format('woff2'),
         url('fonts/IranSans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}