:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #f5f6fa;
    --text-color: #2c3e50;
    --border-color: #dcdde1;
    --success-color: #27ae60;
    --error-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
}

header h1 {
    margin-bottom: 10px;
}

.search-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-weight: 600;
    color: var(--primary-color);
}

input, select {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-search {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-search:hover {
    background-color: #2980b9;
}

.results-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
}

.results-table th,
.results-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.results-table th {
    background: linear-gradient(to bottom, var(--primary-color), #243444);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--secondary-color);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.results-table th:last-child {
    border-right: none;
}

.results-table td:last-child {
    border-right: none;
}

.results-table tbody tr:hover {
    background-color: var(--background-color);
    cursor: pointer;
}

.results-table tbody tr:last-child td {
    border-bottom: none;
}

.result-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
}

.status-confirmed {
    color: var(--success-color);
    font-weight: 600;
}

/* Responsive Table Styles */
@media screen and (max-width: 768px) {
    .results-table th,
    .results-table td {
        padding: 10px;
        font-size: 14px;
    }

    .results-table th {
        font-size: 12px;
    }
}

.status-pending {
    color: #f39c12;
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-color);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .search-section,
    .results-section {
        padding: 20px;
    }

    .btn-search {
        width: 100%;
    }
}