* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Forms */
.search-form, .booking-form, .login-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.search-form h2, .booking-form h2, .login-card h1 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #667eea;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #545b62;
}

/* Scooter Cards */
.scooters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.scooter-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.scooter-card:hover {
    transform: translateY(-5px);
}

.scooter-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.scooter-placeholder {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.scooter-placeholder i {
    font-size: 4rem;
    color: #667eea;
}

.btn-book {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 30px;
    display: block;
}

.btn-book:hover {
    background: #218838;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.no-results i {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 20px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.thank-you h1 {
    margin-bottom: 20px;
    color: #333;
}

.actions {
    margin-top: 30px;
}

/* Admin Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #2c3e50;
    color: white;
}

.admin-header {
    padding: 20px;
    border-bottom: 1px solid #34495e;
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav a {
    display: block;
    padding: 15px 20px;
    color: #bdc3c7;
    text-decoration: none;
    transition: background 0.3s;
}

.admin-nav a:hover,
.nav-active {
    background: #34495e;
    color: white;
}

.admin-nav i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.admin-content {
    flex: 1;
    background: #ecf0f1;
}

.admin-topbar {
    background: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-right: 20px;
}

.stat-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

/* Bookings List */
.recent-bookings {
    padding: 0 30px 30px;
}

.bookings-list {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.booking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.booking-item:last-child {
    border-bottom: none;
}

.booking-status .status-confirmed {
    background: #d4edda;
    color: #155724;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.booking-status .status-pending {
    background: #fff3cd;
    color: #856404;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Alerts */
.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .scooters-grid {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2rem;
    }
}

/* Additional Admin Styles */
.admin-section {
    padding: 20px 30px;
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1e5e9;
}

.section-header h2 {
    color: #2c3e50;
}

.form-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Scooter Actions */
.scooter-actions {
    margin-top: 15px;
}

.btn-danger {
    background: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
    display: inline-block;
}

.btn-danger:hover {
    background: #c82333;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
    display: inline-block;
}

.btn-success:hover {
    background: #218838;
    color: white;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Bookings Table */
.bookings-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bookings-table table {
    width: 100%;
    border-collapse: collapse;
}

.bookings-table th,
.bookings-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.bookings-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.bookings-table tr:hover {
    background: #f8f9fa;
}

/* Scooter Thumb */
.scooter-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
    float: left;
}

.scooter-info {
    display: flex;
    align-items: center;
}

.contact-info div,
.location-info div {
    margin-bottom: 5px;
}

.contact-info i,
.location-info i {
    width: 16px;
    margin-right: 5px;
    color: #667eea;
}

.action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* Alert Styles */
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
}

/* Password Change Form */
.password-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Calendar Styles */
.calendar-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.availability-calendar {
    width: 100%;
    border-collapse: collapse;
}

.availability-calendar th,
.availability-calendar td {
    padding: 10px;
    text-align: center;
    border: 1px solid #e1e5e9;
}

.availability-calendar th {
    background: #f8f9fa;
    font-weight: 600;
}

.available {
    background: #d4edda;
    color: #155724;
}

.booked {
    background: #f8d7da;
    color: #721c24;
}

.pending {
    background: #fff3cd;
    color: #856404;
}

/* Responsive Table */
@media (max-width: 768px) {
    .bookings-table {
        overflow-x: auto;
    }
    
    .bookings-table table {
        min-width: 800px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

