/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 20px;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

/* Button Styles */
.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    min-width: 100px;
    height: 40px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.filter-btn {
    background-color: #3498db;
    color: white;
}

.filter-btn:hover {
    background-color: #2980b9;
}

.reset-btn {
    background-color: #e74c3c;
    color: white;
}

.reset-btn:hover {
    background-color: #c0392b;
}

.quick-date-btn {
    background-color: #2ecc71;
    color: white;
}

.quick-date-btn:hover {
    background-color: #27ae60;
}

/* Button Group Layout */
.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Filter Controls */
.date-filter {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.date-range-picker {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 250px;
    height: 40px;
    font-size: 14px;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #eee;
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.requests-table th {
    background-color: #2c3e50;
    color: white;
    padding: 12px;
    text-align: left;
    position: sticky;
    top: 0;
}

.requests-table th a {
    color: white;
    text-decoration: none;
    display: block;
}

.requests-table th a:hover {
    text-decoration: underline;
}

.requests-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

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

.requests-table tr:hover {
    background-color: #f1f1f1;
}

/* Status Messages */
.no-data {
    text-align: center;
    padding: 20px;
    color: #777;
    font-style: italic;
}

.summary {
    margin-top: 15px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    text-align: right;
    font-weight: bold;
}

/* Tooltips */
td[title] {
    position: relative;
    cursor: help;
}

td[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .btn {
        min-width: 80px;
        height: 36px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .button-group {
        gap: 8px;
    }
    
    .date-range-picker {
        width: 200px;
    }
    
    .requests-table {
        font-size: 12px;
    }
    
    .requests-table th, 
    .requests-table td {
        padding: 8px 10px;
    }
}
/* Add these new styles to your existing style.css */

/* Filters Form */
.filters-form {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: bold;
    font-size: 14px;
}

.domain-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 250px;
    height: 40px;
    font-size: 14px;
    background-color: white;
}

.domain-select option {
    padding: 5px;
}

/* Adjust existing button styles */
.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .domain-select {
        min-width: 100%;
    }
    
    .date-range-picker {
        width: 100%;
    }
}
.no-data-message {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 5px;
    color: #666;
    font-style: italic;
    margin: 20px 0;
}
/* Form Container Styles */
.parking-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.parking-box {
    text-align: center;
}

.domain-message {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #3498db;
}

.domain-message p {
    margin: 0.5rem 0;
    color: #333;
}

.domain-message strong {
    color: #3498db;
}

/* Form Styles */
.parking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .parking-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .form-control {
        padding: 10px 12px;
    }
}

/* Center the page title */
.parking-box h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

/* Form label styling */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}
