/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    padding: 22px 0 18px;
    border-bottom: 2px solid #1a73e8;
    margin-bottom: 22px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 120px;
    height: auto;
    display: block;
}

.company-info h1 {
    font-size: 1.05rem;
    color: #1a3a6b;
    margin-bottom: 4px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.header .subtitle {
    color: #1a73e8;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lang-switch {
    margin-top: 12px;
}

.lang-switch span {
    padding: 4px 14px;
    background: #e8f0fe;
    color: #1a73e8;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 10px 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after {
    background: #1a73e8;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 1;
    margin-bottom: 5px;
}

.progress-step.active .step-number {
    background: #1a73e8;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(26,115,232,0.2);
}

.progress-step.completed .step-number {
    background: #137333;
    color: #fff;
}

.progress-step.completed .step-number::after {
    content: '✓';
    font-size: 0.7rem;
}

.progress-step.completed .step-label {
    color: #137333;
}

.progress-step.upcoming .step-number {
    background: #e8eaed;
    color: #999;
}

.progress-step.upcoming .step-label {
    color: #999;
}

.step-label {
    font-size: 0.7rem;
    color: #666;
    text-align: center;
}

.progress-step.active .step-label {
    color: #1a73e8;
    font-weight: bold;
}

/* Form */
.form {
    background: #fff;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    font-size: 1.3rem;
    color: #1a73e8;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-group .hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #666;
}

.form-group .hint.error {
    color: #d93025;
}

.form-group .hint.success {
    color: #34a853;
}

.required {
    color: #d93025;
}

.otp-group {
    display: flex;
    gap: 10px;
}

.otp-group input {
    flex: 1;
}

.captcha-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-question {
    flex: 1;
    padding: 12px;
    background: #f1f3f4;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.captcha-group input {
    width: 100px;
    text-align: center;
}

/* File Upload */
.upload-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.upload-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
}

.upload-btn:hover {
    border-color: #1a73e8;
    background: #f8f9fa;
}

.upload-btn:active {
    background: #e8f0fe;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 0.9rem;
}

.file-upload input[type="file"]:hover {
    border-color: #1a73e8;
    background: #f1f3f4;
}

.file-upload-hint {
    margin-top: 5px;
    font-size: 0.8rem;
    color: #666;
}

.file-upload-hint.has-file {
    color: #34a853;
    font-weight: 600;
}

/* Checkbox */
.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    font-size: 0.85rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Review Section */
.review-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.review-section h3 {
    font-size: 1rem;
    color: #1a73e8;
    margin-bottom: 10px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item span:first-child {
    color: #666;
}

.review-item span:last-child {
    font-weight: 600;
    color: #333;
}

/* Buttons */
.form-navigation {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #1a73e8;
    color: #fff;
}

.btn-primary:hover {
    background: #1557b0;
}

.btn-secondary {
    background: #f1f3f4;
    color: #333;
}

.btn-secondary:hover {
    background: #e8eaed;
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #34a853;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.success-message h2 {
    color: #34a853;
    margin-bottom: 15px;
}

.success-message p {
    margin-bottom: 10px;
    color: #666;
}

.success-message strong {
    color: #1a73e8;
    font-size: 1.2rem;
}

/* Booking Section */
.booking-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}

.booking-section h3 {
    color: #1a73e8;
    margin-bottom: 5px;
}

.booking-section p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.time-slot {
    padding: 10px 8px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.time-slot:hover {
    border-color: #1a73e8;
    background: #f8f9fa;
}

.time-slot.selected {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

.time-slot .remaining {
    display: block;
    font-size: 0.7rem;
    font-weight: normal;
    color: #666;
    margin-top: 2px;
}

.time-slot.selected .remaining {
    color: #e8f0fe;
}

/* Booking Confirmation */
.booking-confirmation {
    margin-top: 30px;
    padding: 25px 20px;
    background: #e8f5e9;
    border-radius: 8px;
    text-align: left;
    border: 2px solid #34a853;
}

.booking-confirmation h3 {
    color: #34a853;
    text-align: center;
    margin-bottom: 20px;
}

.success-icon.small {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.confirmation-details {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.conf-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.conf-row:last-child {
    border-bottom: none;
}

.conf-row span {
    color: #666;
}

.conf-row strong {
    color: #333;
}

.bring-documents {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* Location Card */
.location-card {
    background: #fff;
    padding: 18px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #1a73e8;
}

.location-card h4 {
    color: #1a73e8;
    margin-bottom: 12px;
    font-size: 1rem;
}

.address-line {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 500;
}

.mtr-line {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    padding: 8px 10px;
    background: #f1f3f4;
    border-radius: 4px;
}

.location-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-map,
.btn-video {
    flex: 1;
    min-width: 140px;
    display: block;
    padding: 11px 14px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-map {
    background: #1a73e8;
    color: #fff;
}

.btn-map:hover {
    background: #1557b0;
}

.btn-video {
    background: #f1f3f4;
    color: #333;
    border: 1px solid #ddd;
}

.btn-video:hover {
    background: #e8eaed;
}

.bring-documents h4 {
    color: #1a73e8;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.bring-documents ul {
    margin-left: 20px;
    font-size: 0.9rem;
    color: #333;
}

.bring-documents li {
    margin-bottom: 5px;
}

.contact-info {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* Footer */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

.footer .warning {
    margin-top: 10px;
    color: #d93025;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 1.2rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
    
    .otp-group {
        flex-direction: column;
    }
}
