@font-face {
    font-family: 'Vazir';
    src: url('Vazir.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

h1 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-align: center;
}

.form-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.required {
    color: #dc3545;
    margin-right: 0.25rem;
}

input[type="text"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.submit-btn,
.reset-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn {
    background-color: #2ecc71;
    color: #fff;
}

.submit-btn:hover {
    background-color: #27ae60;
}

.reset-btn {
    background-color: #e74c3c;
    color: #fff;
}

.reset-btn:hover {
    background-color: #c0392b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .form-section {
        padding: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-btn,
    .reset-btn {
        width: 100%;
    }
}

/* Error States */
input.error,
select.error,
textarea.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success States */
input.success,
select.success,
textarea.success {
    border-color: #28a745;
}

/* Disabled States */
input:disabled,
select:disabled,
textarea:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* Read-only States */
input[readonly],
select[readonly],
textarea[readonly] {
    background-color: #f8f9fa;
}

/* Placeholder Styles */
::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

/* Admin Login Styles */
.login-form {
    max-width: 400px;
    margin: 2rem auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Print Styles */
@media print {
    body {
        background-color: #fff;
    }
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    .no-print {
        display: none;
    }
} 