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

.classes-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: padding 0.2s ease;
}

.classes-header.collapsed {
    padding: 12px 20px;
    gap: 0;
}

.classes-header.collapsed .header-controls {
    flex-direction: row;
    flex-wrap: nowrap;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-message {
    font-size: 1.2em;
    font-weight: 500;
    color: #333;
}

.header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.date-picker-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.date-picker-container input[type="date"] {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.date-picker-container input[type="date"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.date-nav-button {
    padding: 10px 12px;
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-nav-button:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.date-nav-button:disabled {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.7;
}

.date-nav-left {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.date-nav-right {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

.classes-list {
    margin-bottom: 30px;
}

.location-filter {
    display: flex;
    align-items: center;
    position: relative;
}

.location-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 180px;
    height: 44px;
    user-select: none;
}

.location-dropdown:hover {
    border-color: #adb5bd;
}

.location-dropdown-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-dropdown-arrow {
    font-size: 10px;
    color: #6c757d;
    flex-shrink: 0;
}

.location-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.location-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #212529;
    transition: background 0.15s ease;
}

.location-option:hover {
    background: #f0f4ff;
}

.location-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #007bff;
}

.header-collapse-toggle {
    padding: 4px 8px;
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 10px;
    color: #6c757d;
    transition: all 0.2s ease;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
}

.header-collapse-toggle:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #adb5bd;
}

.no-classes {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
}

.no-classes p {
    font-size: 1.2em;
    margin: 0;
}

.class-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.class-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.classes-container .class-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

.class-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-row .label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
    margin-right: 10px;
}

.detail-row .value {
    color: #212529;
    font-weight: 500;
}

.class-time {
    text-align: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    min-width: 120px;
    flex-shrink: 0;
}

.class-time .day {
    font-weight: bold;
    color: #007bff;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.class-time .date {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 5px;
}

.class-time .time {
    font-weight: bold;
    color: #212529;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.class-time .duration {
    font-size: 0.8em;
    color: #6c757d;
}

.classes-container .card-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-top: 20px;
}

.action-button {
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: fit-content;
    height: 44px;
    flex-shrink: 0;
    width: auto;
    justify-content: flex-start;
}

.calendar-button {
    background: #28a745;
    color: white;
}

.calendar-button:hover {
    background: #218838;
}

.create-request-button {
    background: #007bff;
    color: white;
}

.create-request-button:hover {
    background: #0056b3;
}

.cancel-request-button {
    background: #dc3545;
    color: white;
}

.cancel-request-button:hover {
    background: #c82333;
}

.mindbody-footer {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mindbody-footer img {
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mindbody-footer img:hover {
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 768px) {
    .classes-container {
        padding: 8px;
    }
    
    .classes-header {
        padding: 15px;
    }
    
    .header-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .date-picker-container {
        flex-direction: row;
        gap: 0;
        justify-content: center;
        width: 100%;
    }

    .classes-header.collapsed {
        padding: 10px 15px;
        margin-bottom: 15px;
    }

    .location-filter {
        width: 100%;
    }

    .location-dropdown {
        min-width: unset;
        width: 100%;
    }
    
    .class-cards {
        grid-template-columns: 1fr;
    }
    
    .classes-container .class-info {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }

    .class-time {
        min-width: 100px;
        flex-shrink: 0;
    }

    .classes-container .card-actions {
        flex-direction: column;
        justify-content: stretch;
        align-items: stretch;
        gap: 0.75rem;
    }

    .classes-container .card-actions .action-button {
        width: 100% !important;
        justify-content: center !important;
        min-width: unset !important;
    }
} 