/* Course Booking Public Styles */
.kubu-courses {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.kubu-no-courses {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}

.kubu-course-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.kubu-course-table thead {
    background: #0073aa;
    color: white;
}

.kubu-course-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #0073aa;
}

.kubu-course-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.kubu-course-table tbody tr:nth-child(odd) {
    background: #f9f9f9 !important;
}

.kubu-course-table tbody tr:nth-child(even) {
    background: #ffffff !important;
}

.kubu-course-table tbody tr:hover {
    background: #e7f3ff !important;
}

.kubu-course-table tbody tr.course-closed:nth-child(odd) {
    opacity: 0.7;
    background: #f0f0f0 !important;
}

.kubu-course-table tbody tr.course-closed:nth-child(even) {
    opacity: 0.7;
    background: #f8f8f8 !important;
}

.kubu-course-table tbody tr.course-closed:hover {
    background: #e0e0e0 !important;
}

.course-title {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

.course-weekday {
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.course-time {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.course-date {
    color: #666;
    white-space: nowrap;
}

.course-trainer {
    color: #555;
}

.course-price {
    font-weight: 600;
    color: #0073aa;
    white-space: nowrap;
}

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

.register-link {
    display: inline-block;
    background: #0073aa;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
    transition: background 0.3s ease;
}

.register-link:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

.register-disabled {
    display: inline-block;
    background: #f0f0f1;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
    border: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kubu-course-table {
        font-size: 0.9em;
    }
    
    .kubu-course-table th,
    .kubu-course-table td {
        padding: 8px 10px;
    }
    
    .kubu-course-table th {
        font-size: 0.8em;
    }
}

@media (max-width: 600px) {
    .kubu-course-table {
        font-size: 0.8em;
    }
    
    .kubu-course-table th,
    .kubu-course-table td {
        padding: 6px 8px;
    }
}

.kubu-registration {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.kubu-courses h3,
.kubu-registration h3 {
    margin-top: 0;
    color: #333;
}