/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    direction: rtl;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.header {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.header h1 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    background: #34495e;
    border-radius: 5px;
}

.nav a:hover {
    background: #1abc9c;
}

h2, h3 {
    color: #2c3e50;
    margin: 20px 0 15px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: right;
}

.data-table th {
    background: #34495e;
    color: white;
}

.data-table tr:nth-child(even) {
    background: #f9f9f9;
}

.trip-form, .simple-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.trip-form label, .simple-form label {
    display: block;
    margin: 10px 0 5px 0;
    font-weight: bold;
}

.trip-form input, .trip-form select, .simple-form input, .simple-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button, .print-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

button:hover, .print-btn:hover {
    background: #2ecc71;
}

.error {
    background: #e74c3c;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.success {
    background: #27ae60;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.filter-bar {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.note {
    background: #f39c12;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

@media print {
    body {
        background: white;
    }
    .nav, .filter-bar, .print-btn, button, .header .nav, .note {
        display: none !important;
    }
    .container {
        padding: 0;
        margin: 0;
    }
    .data-table, .print-table {
        width: 100%;
        border: 1px solid #000;
    }
    .data-table th, .data-table td {
        border: 1px solid #000;
    }
    .report-content {
        margin-top: 0;
    }
}