:root {
            --teal: #0a7890;
            --orange: #e0672c;
            --text: #1f2530;
            --muted: #60656f;
            --bg: #ebedf2;
            --line: #6a6f78;
            --facebook: #2f5fa9;
            --button: #0b7c97;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: "Poppins", "Segoe UI", sans-serif;
            color: var(--text);
            background:
                linear-gradient(135deg, rgba(250, 226, 220, 0.45) 0%, rgba(250, 226, 220, 0.45) 28%, transparent 28% 100%),
                linear-gradient(315deg, rgba(250, 226, 220, 0.38) 0%, rgba(250, 226, 220, 0.38) 22%, transparent 22% 100%),
                var(--bg);
            position: relative;
            overflow-x: hidden;
        }

        .shape-top-left {
            position: absolute;
            top: 0;
            left: 0;
            width: 430px;
            height: 70px;
            background: var(--teal);
            clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%);
            z-index: 1;
        }

        .shape-left-band,
        .shape-right-band {
            position: absolute;
            width: 70px;
            background: var(--teal);
            z-index: 1;
        }

        .shape-left-band {
            left: 0;
            top: 140px;
            height: 290px;
            clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
        }

        .shape-right-band {
            right: 0;
            top: 170px;
            height: 380px;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 84%);
        }

        .register-wrap {
            position: relative;
            z-index: 2;
            max-width: 1020px;
            margin: 48px auto 0;
            padding: 0 22px 40px;
        }

        .top-nav {
            width: 70%;
            margin-left: auto;
            background: var(--orange);
            padding: 14px 26px;
            display: flex;
            justify-content: flex-end;
            gap: 26px;
            font-size: 12px;
            font-weight: 500;
            letter-spacing: 0.2px;
        }

        .top-nav a {
            color: #fff;
            text-decoration: none;
        }

        .page-title {
            text-align: center;
            margin: 22px 0 28px;
        }

        .page-title h1 {
            margin: 0;
            font-size: 34px;
            font-weight: 700;
            line-height: 1;
            letter-spacing: 0.5px;
        }

        .page-title p {
            margin: 12px 0 0;
            font-size: 20px;
            color: #2e323b;
            font-weight: 500;
        }

        .signup-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            align-items: start;
            margin-top: 12px;
        }

        .social-panel {
            padding-top: 22px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 24px;
        }

        .social-btn {
            width: 92%;
            max-width: 300px;
            border: 2px solid var(--line);
            border-radius: 12px;
            display: flex;
            align-items: center;
            background: #fff;
            text-decoration: none;
            color: #4a4f58;
            font-size: 18px;
            min-height: 52px;
            overflow: hidden;
        }

        .social-btn .icon-box {
            width: 60px;
            display: grid;
            place-items: center;
            font-size: 34px;
            font-weight: 700;
            line-height: 1;
            flex-shrink: 0;
        }

        .social-btn span {
            flex: 1;
            text-align: left;
        }

        .social-btn.facebook {
            background: var(--facebook);
            color: #fff;
            border-color: #31589d;
        }

        .social-btn.facebook .icon-box {
            background: #fff;
            color: var(--facebook);
            font-family: Arial, sans-serif;
            font-weight: 800;
            font-size: 40px;
        }

        .social-btn.google .icon-box {
            color: #ea4335;
            font-family: Arial, sans-serif;
            font-weight: 700;
            font-size: 42px;
        }

        .form-panel {
            border-left: 4px solid #656a73;
            padding-left: 24px;
        }

        .reg-input {
            width: 100%;
            height: 52px;
            border: 2px solid var(--line);
            border-radius: 13px;
            background: #eceef3;
            padding: 0 18px;
            margin-bottom: 16px;
            font-size: 17px;
            color: var(--text);
            outline: none;
        }

        .reg-input::placeholder {
            color: #7a7f88;
        }

        .consent-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            margin: 18px 0 14px;
            font-size: 16px;
            color: #2d3239;
        }

        .consent-row input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--teal);
            cursor: pointer;
        }

        .consent-row label {
            cursor: pointer;
        }

        .consent-row a {
            color: #2d3239;
            text-decoration: none;
            border-bottom: 1px solid #2d3239;
        }

        .primary-btn {
            display: block;
            width: 62%;
            min-width: 260px;
            margin: 0 auto;
            border: 0;
            border-radius: 14px;
            height: 50px;
            background: var(--button);
            color: #fff;
            font-size: 20px;
            letter-spacing: 0.8px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .login-text {
            text-align: center;
            margin: 12px 0 0;
            font-size: 17px;
            color: #2e323a;
        }

        .login-text a {
            color: var(--teal);
            text-decoration: none;
            margin-left: 8px;
        }

        .flash-box {
            max-width: 860px;
            margin: 0 auto 14px;
            border-radius: 10px;
            padding: 12px 16px;
            font-size: 18px;
        }

        .flash-box.error {
            background: #f8d7da;
            color: #842029;
            border: 1px solid #f5c2c7;
        }

        .flash-box.success {
            background: #d1e7dd;
            color: #0f5132;
            border: 1px solid #badbcc;
        }

        .role-switch {
            max-width: 860px;
            margin: 0 auto 16px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .role-option {
            border: 2px solid var(--line);
            border-radius: 12px;
            background: #fff;
            min-height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-weight: 600;
            cursor: pointer;
        }

        .role-option.active {
            border-color: var(--teal);
            color: var(--teal);
            background: #f3fbfd;
        }

        .role-option input[type="radio"] {
            accent-color: var(--teal);
        }

        .textarea-input {
            min-height: 90px;
            padding: 12px 18px;
            resize: vertical;
        }

        .file-label,
        .worker-rules {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 14px;
            color: #2d3239;
            font-size: 15px;
        }

        .worker-rules input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--teal);
        }

        @media (max-width: 1200px) {
            .top-nav {
                width: 100%;
                justify-content: center;
            }

            .page-title h1 {
                font-size: 30px;
            }

            .page-title p {
                font-size: 18px;
            }

            .social-btn,
            .reg-input {
                font-size: 16px;
                min-height: 48px;
                height: 48px;
            }

            .social-btn .icon-box {
                width: 54px;
                font-size: 30px;
            }

            .social-btn.facebook .icon-box {
                font-size: 36px;
            }

            .social-btn.google .icon-box {
                font-size: 38px;
            }

            .consent-row {
                font-size: 15px;
            }

            .primary-btn {
                font-size: 18px;
                min-width: 220px;
                height: 46px;
            }

            .login-text {
                font-size: 16px;
            }
        }

        @media (max-width: 860px) {
            .shape-top-left,
            .shape-left-band,
            .shape-right-band {
                display: none;
            }

            .register-wrap {
                margin-top: 14px;
                padding: 0 14px 24px;
            }

            .signup-card {
                grid-template-columns: 1fr;
            }

            .form-panel {
                border-left: 0;
                border-top: 3px solid #656a73;
                padding-left: 0;
                padding-top: 18px;
            }

            .social-panel {
                padding-top: 0;
            }

            .primary-btn {
                width: 100%;
                min-width: 0;
            }

            .consent-row {
                font-size: 16px;
                gap: 8px;
            }

            .consent-row input[type="checkbox"] {
                width: 18px;
                height: 18px;
            }

            .role-switch {
                grid-template-columns: 1fr;
                gap: 8px;
            }
        }