/* Class Schedule Styles */
.mknx-day-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.mknx-schedule-body {
    display: flex;
    flex-direction: column;
}

.mknx-class-title {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
}

.mknx-class-time {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

/* List View */
.mknx-list-view .mknx-day-section {
    margin-bottom: 30px;
}

.mknx-list-view .mknx-day-name {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.mknx-list-view .mknx-class-item {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
}

.mknx-list-view .mknx-no-classes {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    color: #888;
    font-style: italic;
}

/* Responsive styles */
@media (max-width: 768px) {
    .mknx-schedule-header,
    .mknx-schedule-row {
        min-width: 700px;
    }
    
    .mknx-schedule-time-column,
    .mknx-schedule-time {
        width: 60px;
    }
    
    .mknx-class-title {
        font-size: 12px;
    }
    
    .mknx-class-time {
        font-size: 10px;
    }
}

/**
 * Public CSS for MKNX Plugin
 */

/* User Dashboard Styles */
.mknx-user-dashboard {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Subscription and Stamp Card Info Styles */
.mknx-subscription-info,
.mknx-stamp-card-info,
.mknx-subscription-history {
    margin-top: 30px;
}

.mknx-info-box {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.mknx-status-active {
    color: #4CAF50;
    font-weight: bold;
}

.mknx-status-inactive {
    color: #F44336;
    font-weight: bold;
}

.mknx-user-dashboard h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.mknx-user-info {
    text-align: center;
    margin-bottom: 30px;
}

.mknx-membership-status,
.mknx-day-tickets {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mknx-membership-status h3,
.mknx-day-tickets h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.status-label {
    font-weight: bold;
}

.mknx-status-active .status-label {
    color: #2e7d32;
}

.mknx-status-expired .status-label {
    color: #c62828;
}

.mknx-dashboard-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Subscription History Table */
.mknx-subscription-history table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.mknx-subscription-history th,
.mknx-subscription-history td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.mknx-subscription-history th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.mknx-subscription-history tr:hover {
    background-color: #f9f9f9;
}
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.mknx-not-logged-in {
    background: #fff3e0;
    color: #e65100;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 3px;
    text-align: center;
}

/* Button Styles */
.mknx-user-dashboard .button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 10px;
}

.mknx-user-dashboard .button:hover {
    background: #005177;
}

/* Barcode Styles */
.mknx-user-barcode-section {
    margin-top: 30px;
}

.mknx-barcode-container {
    text-align: center;
    padding: 20px;
}

.mknx-barcode-wrapper {
    margin: 15px auto;
    max-width: 100%;
    overflow: hidden;
}

.mknx-barcode-instructions {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

/* Upcoming Classes Styles */
.mknx-upcoming-classes {
    margin-top: 30px;
}

.mknx-upcoming-classes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mknx-upcoming-class-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.mknx-upcoming-class-item:last-child {
    border-bottom: none;
}

.mknx-class-date {
    flex: 0 0 100px;
    font-weight: bold;
}

.mknx-class-time {
    flex: 0 0 150px;
    color: #666;
}

.mknx-class-title {
    flex: 1;
}

.mknx-view-all-classes {
    text-align: center;
    margin-top: 15px;
}
/* Class Schedule Styles */
.mknx-class-schedule {
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 800px;
    padding: 20px;
}

.mknx-class-schedule h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.mknx-schedule-day {
    margin-bottom: 30px;
}

.mknx-day-header {
    background-color: #f5f5f5;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 4px solid #0073aa;
}

.mknx-class-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.mknx-class-time {
    flex: 0 0 150px;
    font-weight: bold;
    padding-right: 15px;
}

.mknx-class-details {
    flex: 1;
}

.mknx-class-title {
    margin-top: 0;
    margin-bottom: 5px;
}

.mknx-class-description {
    font-size: 14px;
    color: #666;
}

.mknx-no-classes {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}
