/**
 * Public styles for Stackxx Video Series
 */

.svs-booking-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.svs-series-header {
    margin-bottom: 30px;
}

.svs-series-header h2 {
    margin-bottom: 10px;
}

.svs-series-description {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.svs-series-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.svs-series-details p {
    margin: 5px 0;
}

/* Forms */
.svs-form {
    margin-top: 20px;
}

.svs-form-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.svs-form-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.svs-form-row {
    margin-bottom: 15px;
}

.svs-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.svs-form-row input[type="text"],
.svs-form-row input[type="email"],
.svs-form-row input[type="date"],
.svs-form-row select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.svs-form-row input[type="text"]:focus,
.svs-form-row input[type="email"]:focus,
.svs-form-row input[type="date"]:focus,
.svs-form-row select:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

.svs-available-days {
    margin-top: 10px;
    padding: 10px;
    background: #e8f4fd;
    border-left: 3px solid #2271b1;
    font-size: 14px;
}

/* Time Slots */
#svs-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.svs-slot-button {
    padding: 12px 15px;
    border: 2px solid #2271b1;
    background: #fff;
    color: #2271b1;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
}

.svs-slot-button:hover {
    background: #2271b1;
    color: #fff;
}

.svs-slot-button.selected {
    background: #2271b1;
    color: #fff;
}

.svs-slot-button:disabled {
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
}

/* Buttons */
.svs-button {
    display: inline-block;
    padding: 12px 24px;
    background: #f0f0f1;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    color: #3c434a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 10px;
}

.svs-button:hover {
    background: #e0e0e1;
}

.svs-button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

.svs-button-primary:hover {
    background: #135e96;
}

.svs-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Messages */
.svs-error-message,
.svs-success-message,
.svs-error {
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.svs-error,
.svs-error-message {
    background: #fff5f5;
    border-left: 4px solid #dc3232;
    color: #dc3232;
}

.svs-success-message {
    background: #edfaef;
    border-left: 4px solid #46b450;
    color: #1a5c1e;
}

.svs-notice {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 15px;
    margin: 15px 0;
}

/* Booking Card */
.svs-booking-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.svs-booking-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.svs-booking-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.status-confirmed {
    background: #c6e1c6;
    color: #5b841b;
}

.status-completed {
    background: #f0f0f1;
    color: #666;
}

.status-cancelled {
    background: #eba3a3;
    color: #761919;
}

.svs-booking-details {
    width: 100%;
    border-collapse: collapse;
}

.svs-booking-details th,
.svs-booking-details td {
    padding: 10px 0;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.svs-booking-details th {
    width: 120px;
    font-weight: 600;
    color: #555;
}

.svs-booking-details a {
    color: #2271b1;
}

.svs-actions {
    margin-top: 20px;
}

/* Loading */
#svs-slots-loading {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* Dashboard */
.svs-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.svs-series-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    padding: 20px;
}

.svs-series-card h2 {
    margin-top: 0;
}

.svs-stats {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

/* Responsive */
@media (max-width: 600px) {
    .svs-booking-container {
        padding: 10px;
    }
    
    .svs-form-section {
        padding: 15px;
    }
    
    .svs-button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .svs-slot-button {
        padding: 10px;
    }
}
