:root {
            --site-bg: #f5f5f5;
            --section-bg: #ffffff;
            --primary-action: #28ce73;
            --primary-action-hover: #22b162;
            --secondary-action: #5c6ac4;
            --secondary-action-hover: #4a56a0;
            --text-color: #000000;
            --border-color: #e0e0e0;
            --input-bg: #f9f9f9;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--site-bg);
            color: var(--text-color);
            display: flex;
            justify-content: center;
            align-items: flex-start;
            min-height: 100vh;
            padding: 20px;
        }
        .form-container {
            width: 100%;
            max-width: 800px;
            background-color: var(--section-bg);
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            padding: 40px;
            margin: 20px 0;
        }
        .form-header {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            margin-bottom: 40px;
        }
        .logo-container { grid-column: 1 / 2; justify-self: start; }
        .logo-container img { height: 35px; width: auto; display: block; }
        .form-header h1 { grid-column: 2 / 3; text-align: center; font-size: 2rem; font-weight: 600; margin: 0 15px; }
        .language-switcher-container { grid-column: 3 / 4; justify-self: end; }
        #language-switcher { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: var(--input-bg); border: 1px solid var(--border-color); border-radius: 6px; padding: 8px 30px 8px 12px; font-size: 0.9rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; }
        #language-switcher:focus { outline: none; border-color: var(--primary-action); box-shadow: 0 0 0 3px rgba(40, 206, 115, 0.15); }
        label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; }
        label .required-star { color: #e74c3c; margin-left: 2px; }
        .tracking-form { display: flex; flex-direction: column; gap: 20px; }
        .form-row { display: flex; flex-wrap: wrap; gap: 20px; }
        .form-group { flex: 1; min-width: 150px; }
        .form-group.full-width { flex-basis: 100%; }
        input[type="text"], input[type="email"], input[type="tel"], textarea, select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 1rem; background-color: var(--input-bg); transition: border-color 0.2s, box-shadow 0.2s; }
        input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary-action); box-shadow: 0 0 0 3px rgba(40, 206, 115, 0.15); }
        textarea { resize: vertical; min-height: 100px; }
        .action-btn { background-color: var(--primary-action); color: var(--section-bg); border: none; border-radius: 6px; padding: 15px; font-size: 1.1rem; font-weight: 600; width: 100%; cursor: pointer; transition: background-color 0.2s, opacity 0.2s; margin-top: 10px; }
        .action-btn:hover { background-color: var(--primary-action-hover); }
        .action-btn:disabled { opacity: 0.7; cursor: not-allowed; }
        .result-container { margin-top: 30px; border-top: 1px solid var(--border-color); padding-top: 20px; }
        .link-wrapper { display: flex; gap: 10px; }
        .link-wrapper input[readonly] { flex-grow: 1; background-color: #eee; color: #333; cursor: pointer; }
        .copy-btn { background-color: var(--secondary-action); color: var(--section-bg); border: none; border-radius: 6px; padding: 0 20px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; white-space: nowrap; }
        .copy-btn:hover { background-color: var(--secondary-action-hover); }
        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 1000; }
        .modal-overlay.active { visibility: visible; opacity: 1; }
        .modal-box { background: var(--section-bg); padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); width: 90%; max-width: 500px; position: relative; transform: scale(0.95); transition: transform 0.3s ease; }
        .modal-overlay.active .modal-box { transform: scale(1); }
        .modal-close-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 2rem; line-height: 1; color: #aaa; cursor: pointer; }
        .modal-box h2 { margin-top: 0; margin-bottom: 10px; }
        .modal-box p { margin-bottom: 20px; color: #555; font-size: 0.95rem; }

        @media (max-width: 700px) {
            .form-container { padding: 25px; }
            .form-header { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 30px; }
            .form-header h1 { font-size: 1.5rem; margin: 0; }
            .form-row { flex-direction: column; gap: 20px; }
        }
