/* Spot Selection Styles */

.back-link {
    margin-bottom: 30px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.back-link a i {
    margin-right: 8px;
}

.spot-selection-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #000;
}

/* Class Details */
.class-details {
    margin-bottom: 30px;
}

.class-details h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.class-date {
    font-size: 16px;
    margin: 0 0 4px 0;
}

.class-location {
    font-size: 16px;
    margin: 0 0 8px 0;
    color: #333;
}

.instructor-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.view-details-link {
    font-size: 15px;
    color: #000;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.view-details-link:hover {
    text-decoration: underline;
}

/* Reservation Options */
.reservation-options {
    margin-bottom: 30px;
}

.reserve-for {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.reserve-for p {
    font-size: 16px;
    font-weight: 600;
    margin: 0 15px 0 0;
    min-width: 100px;
}

.radio-options {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    margin-right: 8px;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
}

.radio-option input[type="radio"]:checked {
    border-color: #000;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.optional {
    font-weight: normal;
    color: #666;
    font-size: 14px;
}

/* Spot Grid */
.spot-grid-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.spot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.spot {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.spot.available {
    background-color: #fff;
    border: 2px solid #ccc;
    color: #333;
}

.spot.available:hover {
    border-color: #999;
    transform: scale(1.05);
}

.spot.unavailable {
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    color: #999;
    cursor: not-allowed;
}

.spot.selected {
    background-color: #000;
    border: 2px solid #000;
    color: #fff;
}

.spot.guest-selected {
    background-color: #333;
    border: 2px solid #333;
    color: #fff;
    cursor: not-allowed;
}

/* Spot Key */
.spot-key {
    padding: 0;
    min-width: 150px;
}

.spot-key h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.key-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.key-item:last-child {
    margin-bottom: 0;
}

.key-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 10px;
}

.key-indicator.available {
    background-color: #fff;
    border: 2px solid #ccc;
}

.key-indicator.unavailable {
    background-color: #f0f0f0;
    border: 2px solid #ddd;
}

.key-indicator.your-selection {
    background-color: #000;
    border: 2px solid #000;
}

.key-indicator.guest-selection {
    background-color: #333;
    border: 2px solid #333;
}

/* Guest Email */
.guest-email {
    max-width: 400px;
    margin-top: 20px;
}

/* Actions */
.spot-selection-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 40px;
}

#reserve-spot-btn {
    min-width: 200px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .spot-grid-container {
        flex-direction: column;
    }
    
    .spot-grid {
        margin: 0 auto;
        justify-content: center;
    }
    
    .spot-key {
        padding: 15px;
        background-color: #f8f8f8;
        border-radius: 8px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .spot-selection-actions {
        justify-content: center;
    }
    
    .reserve-for {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .reserve-for p {
        margin: 0 0 10px 0;
    }
}

@media (max-width: 480px) {
    .spot {
        width: 55px;
        height: 55px;
        font-size: 18px;
    }
}

/* Two Column Layout */
.two-column-layout {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.main-content {
    flex: 1;
    max-width: 650px;
}

.side-content {
    width: 200px;
    margin-left: 30px;
}

@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
    }
    
    .side-content {
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: auto;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    animation: modalFadeIn 0.3s;
    position: relative;
    margin: 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    padding: 24px;
}

/* Trainer Profile */
.trainer-profile {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.trainer-profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.trainer-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.trainer-title {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.trainer-description p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.trainer-description p:last-child {
    margin-bottom: 0;
}

/* Class Details Modal Styles */
.class-details-content {
    max-width: 415px;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 0;
}

.class-modal-header {
    display: flex;
    justify-content: space-between;
    background-color: #555;
    color: white;
    padding: 20px;
}

.class-modal-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
}

.class-modal-info p {
    font-size: 14px;
    margin: 0 0 4px 0;
    color: white;
}

.class-modal-close {
    color: white;
    font-size: 20px;
    align-self: flex-start;
}

.class-modal-body {
    padding: 20px;
}

.instructor-profile {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.instructor-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.instructor-profile span {
    font-weight: 600;
    font-size: 18px;
}

.class-description-section,
.studio-details-section {
    margin-bottom: 20px;
}

.class-description-section h4,
.studio-details-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.class-description-section p,
.studio-details-section p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Trainer Modal Styles */
.trainer-modal-content {
    max-width: 450px;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.trainer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}

.trainer-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.trainer-modal-body {
    padding: 0;
}

.trainer-image-container {
    text-align: center;
    padding: 24px 0;
}

.trainer-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
}

.trainer-details {
    text-align: center;
    margin-bottom: 24px;
}

.trainer-details h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.trainer-title {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.trainer-bio {
    padding: 0 24px 24px;
}

.trainer-bio p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    color: #333;
}

.trainer-bio p:last-child {
    margin-bottom: 0;
} 