
/* SnapTravels Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

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

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

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.flight-card, .hotel-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
}

.flight-price, .hotel-price {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
}

.search-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.search-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.search-form .form-group {
    flex: 1;
}

.search-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.navbar {
    background-color: #343a40;
    padding: 1rem 0;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.navbar a:hover {
    text-decoration: underline;
}

/* Dropdown menu styling */
.dropdown-menu {
    background-color: #343a40 !important;
    border: 1px solid #495057;
}

.dropdown-menu .dropdown-item {
    color: #ffffff !important;
    padding: 8px 16px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #495057 !important;
    color: #ffffff !important;
}

.dropdown-menu .dropdown-item:focus {
    background-color: #495057 !important;
    color: #ffffff !important;
}

/* User dropdown button */
.btn-outline-light {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.btn-outline-light:hover {
    background-color: #ffffff !important;
    color: #343a40 !important;
}

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

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.col-md-6 {
    flex: 0 0 50%;
    padding: 10px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    padding: 10px;
}

@media (max-width: 768px) {
    .col-md-6, .col-md-4 {
        flex: 0 0 100%;
    }
    
    .search-form .form-row {
        flex-direction: column;
    }
}
