
        :root {
            --primary-red: #e0222b;
            --primary-blue: #012954;
            --white: #fff;
            --black: #000;
            --light-gray: #f8f9fa;
            --border-color: #dee2e6;
        }

        * {
            -webkit-tap-highlight-color: transparent;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: var(--light-gray);
            margin: 0;
            padding: 0;
            font-size: 16px;
            color: var(--black);
        }

        .header {
            background: linear-gradient(135deg, var(--primary-blue) 0%, #013a6b 100%);
            color: var(--white);
            padding: 20px 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header h1 {
            font-size: 20px;
            font-weight: 600;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .header .subtitle {
            font-size: 13px;
            opacity: 0.9;
            margin-top: 4px;
        }

        .container-custom {
            padding: 16px;
            max-width: 600px;
            margin: 0 auto;
        }

        .form-section {
            background: var(--white);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }

        .form-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 8px;
            display: block;
        }

        .form-label .required {
            color: var(--primary-red);
            margin-left: 2px;
        }

        .form-control, .form-select {
            font-size: 16px;
            padding: 12px 16px;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            transition: all 0.3s ease;
            background: var(--white);
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(1, 41, 84, 0.1);
            outline: none;
        }

        .form-control::placeholder {
            color: #adb5bd;
        }

        .form-control.is-invalid, .form-select.is-invalid {
            border-color: var(--primary-red);
        }

        .invalid-feedback {
            color: var(--primary-red);
            font-size: 13px;
            margin-top: 6px;
        }

        .auto-capture-field {
            background: #f1f9ff;
            border-color: var(--primary-blue);
            color: var(--primary-blue);
            font-weight: 500;
        }

        .conditional-section {
            display: none;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px dashed var(--border-color);
        }

        .conditional-section.show {
            display: block;
            animation: slideDown 0.4s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .section-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--primary-red);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .radio-group {
            display: flex;
            gap: 16px;
            margin-top: 8px;
        }

        .radio-option {
            position: relative;
            flex: 1;
        }

        .radio-option input[type="radio"] {
            position: absolute;
            opacity: 0;
        }

        .radio-option label {
            display: block;
            padding: 12px;
            background: var(--white);
            border: 2px solid var(--border-color);
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .radio-option input[type="radio"]:checked + label {
            background: var(--primary-red);
            color: var(--white);
            border-color: var(--primary-red);
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--primary-red) 0%, #c01d25 100%);
            color: var(--white);
            border: none;
            padding: 16px;
            border-radius: 12px;
            font-size: 17px;
            font-weight: 600;
            width: 100%;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(224, 34, 43, 0.3);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .submit-btn:active {
            transform: scale(0.98);
        }

        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .mb-3 {
            margin-bottom: 16px;
        }

        textarea.form-control {
            min-height: 100px;
            resize: vertical;
        }

        .info-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #e7f3ff;
            color: var(--primary-blue);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            margin-top: 8px;
        }

        .footer-space {
            height: 20px;
        }

        .form-select option:first-child {
            color: #adb5bd;
        }
















        /* Updated CSS for Visiting Card - Add to your CSS file */

/* Visiting Card Styles - Compact and Limited */
.visiting-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    max-width: 400px;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

.visiting-card .card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.visiting-card .card-header i {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}

.visiting-card .card-header h2 {
    margin: 0 0 5px 0;
    font-size: 1.4em;
    font-weight: bold;
}

.visiting-card .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-top: 10px;
}

.visiting-card .card-body {
    padding: 20px;
}

.visitor-info {
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-row .label {
    font-weight: bold;
    color: #495057;
    font-size: 0.95em;
    min-width: 80px;
}

.info-row .value {
    color: #212529;
    font-size: 1em;
    text-align: right;
    flex: 1;
}

.visiting-card .card-footer {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.visiting-card .btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.9em;
}

.visiting-card .btn:hover {
    background: #218838;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .visiting-card {
        margin: 20px 10px;
        max-width: none;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-row .value {
        text-align: left;
        margin-top: 2px;
    }

/* card Thank you message */

    .card-message {
    margin-top: 15px;
    background: #f0f8ff;
    padding: 10px 15px;
    border-left: 4px solid #007bff;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
}

.card-message i {
    color: #007bff;
    margin-right: 5px;
}

}
