/* WIUC AI Lab Public Styles */
.wiuc-ai-lab-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.wiuc-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.wiuc-login-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
}

.wiuc-login-box h2 {
    color: #1e40af;
    text-align: center;
    margin-bottom: 10px;
}

.wiuc-login-box p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.wiuc-login-box input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 16px;
}

.wiuc-btn-primary {
    width: 100%;
    padding: 12px 24px;
    background: #1e40af;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.wiuc-btn-primary:hover {
    background: #1e3a8a;
}

.wiuc-sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.wiuc-session-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.wiuc-session-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wiuc-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e0e7ff;
    color: #1e40af;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.wiuc-session-card h3 {
    color: #1e40af;
    margin: 10px 0;
}

.wiuc-session-details {
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.wiuc-session-details p {
    margin: 5px 0;
}

#wiuc-login-message .success {
    color: green;
    padding: 10px;
    background: #d1fae5;
    border-radius: 4px;
}

#wiuc-login-message .error {
    color: red;
    padding: 10px;
    background: #fee2e2;
    border-radius: 4px;
}

.wiuc-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.wiuc-stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wiuc-stat-card h4 {
    color: #666;
    margin: 0 0 10px 0;
    font-size: 14px;
}

.wiuc-stat-card p {
    font-size: 32px;
    font-weight: bold;
    color: #1e40af;
    margin: 0;
}

/* Additional styles for main app */
.wiuc-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

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

.wiuc-stat-card h4 {
    color: #666;
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: normal;
}

.wiuc-stat-card p {
    font-size: 32px;
    font-weight: bold;
    color: #1e40af;
    margin: 0;
}

.wiuc-bookings-list {
    display: grid;
    gap: 20px;
}

.wiuc-booking-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wiuc-booking-card h3 {
    color: #1e40af;
    margin-top: 0;
}

.wiuc-certificate-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border-left: 4px solid #1e40af;
}

.wiuc-certificate-card h3 {
    color: #1e40af;
    margin-top: 0;
}

.wiuc-certificate-card code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
}

/* QR Code Modal */
#wiuc-qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#wiuc-qr-modal.active {
    display: flex !important;
}

.wiuc-qr-modal-content {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wiuc-qr-modal-content h3 {
    margin-top: 0;
    color: #1e40af;
}

#wiuc-qr-image {
    margin: 20px 0;
}

#wiuc-qr-image img {
    max-width: 300px;
    border: 3px solid #1e40af;
    border-radius: 8px;
    padding: 10px;
    background: white;
}
