/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    background-color: #ffffff;
    color: #2c3e50;
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #3498db;
}

.logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
}

h1 {
    color: #2980b9;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Form Styles */
.form-section {
    background-color: #e8f4fc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    color: #2980b9;
    margin-bottom: 15px;
    font-size: 1.4rem;
    border-bottom: 1px solid #b3d9f2;
    padding-bottom: 8px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.floor-rooms {
    background-color: #d6eaf8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.floor-rooms h3 {
    color: #2471a3;
    margin-bottom: 10px;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    background-color: #2980b9;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #2471a3;
}

.btn-secondary {
    background-color: #5dade2;
    margin-top: 10px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #bdc3c7;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .logo img {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.3rem;
    }
    
    .form-section h2 {
        font-size: 1.2rem;
    }
    
    input, select {
        padding: 8px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}