:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --accent: #0ea5e9;
    --bg: #f8fafc;
    --text: #1e293b;
    --white: #ffffff;
    --danger: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 80px;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.4rem;
    color: var(--primary-dark);
}

/* Form Styling */
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

input:focus {
    border-color: var(--primary);
}

button {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

button:hover {
    background-color: var(--primary-dark);
}

button:disabled {
    background-color: #cbd5e1;
}

/* Camera Area */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.status-box, .reason-box {
    margin-top: 15px;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.reg-link-container {
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.reg-link-container p {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.reg-link-container a {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    }
    
