* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.header {
    background: white;
    padding: 40px 30px;
    border-radius: 20px 20px 0 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1 {
    color: #667eea;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: #666;
    font-size: 1.1em;
}

.capacity-bar {
    background: white;
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.capacity-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.capacity-label {
    font-size: 1.1em;
    color: #333;
    font-weight: 600;
}

.capacity-number {
    font-size: 1.3em;
    font-weight: 700;
    color: #667eea;
}

.capacity-number.low {
    color: #e74c3c;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.message {
    padding: 20px 30px;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border-bottom: 3px solid #28a745;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border-bottom: 3px solid #dc3545;
}

.message.warning {
    background: #fff3cd;
    color: #856404;
    border-bottom: 3px solid #ffc107;
}

.info-box {
    background: white;
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.info-box h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.info-box p {
    color: #555;
    line-height: 1.8;
}

.form-container {
    background: white;
    padding: 40px 30px;
}

.form-container h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 1.8em;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.radio-label:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #667eea;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    display: block;
}

.radio-label input[type="radio"]:checked ~ .radio-custom {
    background: #667eea;
    border-color: #667eea;
}

.radio-label input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.radio-label input[type="radio"]:checked ~ .radio-text {
    color: #667eea;
}

.radio-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.radio-text strong {
    font-size: 1.05em;
    color: #333;
}

.radio-text small {
    color: #666;
    font-size: 0.9em;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

.contact-box {
    background: white;
    padding: 25px 30px;
    border-radius: 0 0 20px 20px;
    text-align: center;
    color: #666;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    body {
        padding: 10px;
    }
}