/* =================================
   KIOSK INTERFACE STYLES ONLY
   (Used by index.html)
   ================================= */

@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap');

/* Base styles for kiosk */
body {
    font-family: 'Karla', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
}

/* Top corners layout */
.top-left {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.top-right {
    position: fixed;
    top: 20px;
    right: 20px;
    text-align: right;
    color: rgb(0, 0, 0);
    font-size: 1.2em;
    z-index: 1000;
}

.logo {
    height: 60px;
    width: auto;
}

/* Main content container */
.kiosk-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 90%;
    text-align: center;
}

/* Typography */
h1 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 2.5em;
}

h2 {
    color: #000000;
    margin-bottom: 30px;
    font-size: 2em;
}

p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #666;
}

/* Form elements */
input, select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.2em;
    font-family: 'Karla', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #0070d2;
}

input[type="text"], input[type="email"] {
    background: #fafafa;
}

select {
    background: white;
    cursor: pointer;
    color: #333;
    min-height: 52px;
    appearance: auto;
    -webkit-appearance: menulist;
}

/* Buttons */
button {
    background: #0070d2;
    color: white;
    border: #0070d2;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Karla', sans-serif;
    min-width: 150px;
}

button:hover:not(:disabled) {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Action buttons container */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Details confirmation card */
.details-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.details-card p {
    margin: 10px 0;
    font-size: 1.1em;
}

.details-card strong {
    color: #0070d2;
    font-weight: bold;
}

/* Status box for Webex verification */
.status-box {
    background: #f8f9fa;
    border-left: 4px solid #0070d2;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.status-box p {
    margin: 0;
    font-size: 1.1em;
}

/* Success page styles */
.success-container {
    text-align: center;
}

.success-container h2 {
    color: #2e7d32;
    font-size: 2.2em;
}

/* Error page styles */
.error-container {
    text-align: center;
}

.error-container h2 {
    color: #d32f2f;
    font-size: 2.2em;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .kiosk-container {
        padding: 30px 20px;
        width: 95%;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    button {
        width: 100%;
        max-width: 300px;
    }
}

/* Animation for loading states */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Accessibility */
button:focus, input:focus, select:focus {
    outline: 3px solid rgba(0, 112, 210, 0.3);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .top-left, .top-right {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .kiosk-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}