/* Main styles for the coworking booking system */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.calendar-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.calendar-navigation button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    padding: 10px;
    text-align: center;
    background-color: #f0f4f8;
    border: 1px solid #dee2e6;
}

.calendar-table td {
    height: 120px;
    border: 1px solid #dee2e6;
    vertical-align: top;
    padding: 10px;
}

.calendar-day-header {
    margin: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #dee2e6;
    font-weight: bold;
}

.calendar-date {
    display: block;
    text-align: right;
    color: #6c757d;
    margin-bottom: 10px;
}

.timeslot {
    background-color: #e9ecef;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeslot:hover {
    background-color: #dee2e6;
}

.timeslot-name {
    font-weight: bold;
}

.timeslot-availability {
    display: block;
    font-size: 0.85rem;
}

.timeslot-availability.available {
    color: #28a745;
}

.timeslot-availability.limited {
    color: #ffc107;
}

.timeslot-availability.full {
    color: #dc3545;
}

.room-list {
    margin-top: 20px;
}

.room-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.room-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.room-name {
    font-size: 1.2rem;
    font-weight: bold;
}

.room-price {
    color: #6c757d;
    font-weight: 600;
}

.booking-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Admin styles */
.admin-card {
    margin-bottom: 20px;
    border-left: 4px solid #0d6efd;
}

.admin-card .card-header {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Login/Register styles */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 30px;
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
}

.auth-link {
    margin-top: 20px;
    text-align: center;
    display: block;
}

/* Media queries */
@media (max-width: 768px) {
    .calendar-table td {
        height: auto;
    }
    
    .calendar-table {
        font-size: 0.9rem;
    }
}/* Stripe and Apple Pay styles */
.apple-pay-button {
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: plain;
    -apple-pay-button-style: black;
    height: 45px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.nav-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-method-option {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.payment-method-option:hover,
.payment-method-option.selected {
    border-color: #0d6efd;
    background-color: #f8f9fa;
    cursor: pointer;
}

.payment-method-option.selected {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}