/* Extracted from customer_signup.html — Phase 3 */

        .signup-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: var(--spacing-8) var(--spacing-4);
            background: var(--bg-app);
        }

        .signup-card {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: var(--spacing-8);
            max-width: 500px;
            width: 100%;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .signup-header {
            text-align: center;
            margin-bottom: var(--spacing-8);
        }

        .signup-header h1 {
            font-size: var(--font-size-2xl-mobile);
            font-weight: var(--font-weight-bold);
            color: var(--text);
            margin-bottom: var(--spacing-2);
        }

        .signup-header p {
            font-size: var(--font-size-base);
            color: var(--text-muted);
        }

        .form-group {
            margin-bottom: var(--spacing-5);
        }

        .form-label {
            display: block;
            font-size: var(--font-size-sm);
            font-weight: var(--font-weight-medium);
            color: var(--text);
            margin-bottom: var(--spacing-2);
        }

        .form-label .required {
            color: var(--danger);
        }

        .form-control {
            width: 100%;
            padding: var(--spacing-3) var(--spacing-4);
            font-size: var(--font-size-base);
            font-family: var(--font-family-base);
            border: 1px solid var(--border);
            border-radius: 6px;
            background: var(--bg-input);
            color: var(--text);
            min-height: 48px;
            transition: all 0.2s;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(107, 155, 210, 0.1);
        }

        .form-control.error {
            border-color: var(--danger);
        }

        /* Custom Phone Dropdown Styles */
        /* Country Selector Button */
        .country-selector-button {
            display: flex;
            align-items: center;
            gap: var(--spacing-1);
            padding: var(--spacing-2);
            border: 1px solid var(--border);
            border-radius: 6px;
            background: var(--bg-input);
            color: var(--text);
            font-family: var(--font-family-base);
            font-size: var(--font-size-base);
            cursor: pointer;
            min-height: 48px;
            box-sizing: border-box;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .country-selector-button:hover,
        .country-selector-button:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(107, 155, 210, 0.1);
            outline: none;
        }

        .country-flag {
            font-size: 20px;
            line-height: 1;
        }

        .country-code {
            font-weight: 500;
            font-size: var(--font-size-base);
        }

        .country-selector-button .dropdown-arrow {
            font-size: 12px;
            color: var(--text-muted);
            transition: transform 0.2s ease-in-out;
        }

        .country-selector-button.open .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* Custom Dropdown Styles */
        .custom-dropdown-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            display: none;
        }

        .custom-dropdown-overlay.show {
            display: block;
        }

        .custom-dropdown-menu {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--bg-surface);
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
            box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
            z-index: 1001;
            transform: translateY(100%);
            transition: transform 0.3s ease-out;
            max-height: 70vh;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .custom-dropdown-menu.show {
            transform: translateY(0);
        }

        .custom-dropdown-menu-header {
            padding: 1rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            background: var(--bg-surface);
            z-index: 1;
        }

        .custom-dropdown-menu-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text);
        }

        .custom-dropdown-menu-close {
            background: none;
            border: none;
            font-size: 24px;
            color: var(--text-muted);
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: background 0.2s;
        }

        .custom-dropdown-menu-close:hover {
            background: var(--bg-hover);
        }

        .custom-dropdown-menu-items {
            padding: 0;
        }

        .custom-dropdown-menu-item {
            padding: 1rem;
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: var(--spacing-2);
            transition: background 0.2s;
        }

        .custom-dropdown-menu-item:last-child {
            border-bottom: none;
        }

        .custom-dropdown-menu-item:hover {
            background: var(--bg-hover);
        }

        .custom-dropdown-menu-item.selected {
            background: rgba(107, 155, 210, 0.15);
            font-weight: 600;
        }

        .custom-dropdown-menu-item .country-flag {
            font-size: 24px;
            line-height: 1;
            flex-shrink: 0;
        }

        .custom-dropdown-menu-item .country-name {
            flex: 1;
            text-align: left;
        }

        .custom-dropdown-menu-item .country-dial-code {
            color: var(--text-muted);
            font-size: var(--font-size-sm);
        }

        /* Hide intl-tel-input flag button - we use custom button instead */
        .iti__flag-container {
            display: none !important;
        }

        .iti__selected-flag,
        .iti__flag,
        .iti__selected-dial-code,
        .iti__arrow {
            display: none !important;
            visibility: hidden !important;
        }

        .iti {
            width: 100% !important;
            max-width: 100% !important;
            position: relative !important;
            z-index: 10 !important;
            margin: 0 !important;
            padding: 0 !important;
            display: block !important;
        }

        .phone-number-input {
            flex: 1;
        }

        .form-help {
            font-size: var(--font-size-xs);
            color: var(--text-muted);
            margin-top: var(--spacing-1);
        }

        .form-check {
            display: flex;
            align-items: flex-start;
            gap: var(--spacing-2);
            margin-bottom: var(--spacing-5);
        }

        .form-check input {
            margin-top: 4px;
            flex-shrink: 0;
        }

        .form-check label {
            font-size: var(--font-size-sm);
            color: var(--text);
            line-height: var(--line-height-relaxed);
        }

        .form-check a {
            color: var(--accent);
            text-decoration: none;
        }

        .form-check a:hover {
            text-decoration: underline;
        }

        .btn-submit {
            width: 100%;
            margin-bottom: var(--spacing-4);
        }

        .form-footer {
            text-align: center;
            padding-top: var(--spacing-4);
            border-top: 1px solid var(--border);
        }

        .form-footer p {
            font-size: var(--font-size-sm);
            color: var(--text-muted);
            margin: 0;
        }

        .form-footer a {
            color: var(--accent);
            text-decoration: none;
            font-weight: var(--font-weight-semibold);
        }

        .form-footer a:hover {
            text-decoration: underline;
        }

        .messages {
            margin-bottom: var(--spacing-4);
        }

        .message {
            padding: var(--spacing-3) var(--spacing-4);
            border-radius: 6px;
            margin-bottom: var(--spacing-2);
            font-size: var(--font-size-sm);
        }

        .message.error {
            background: var(--danger-bg);
            color: var(--danger);
            border: 1px solid var(--danger);
        }

        .message.success {
            background: var(--success-bg);
            color: var(--success);
            border: 1px solid var(--success);
        }

        .password-strength {
            margin-top: var(--spacing-2);
            height: 4px;
            background: var(--bg-surface-2);
            border-radius: 2px;
            overflow: hidden;
        }

        .password-strength-bar {
            height: 100%;
            transition: all 0.3s;
            border-radius: 2px;
        }

        .password-strength-weak {
            width: 33%;
            background: var(--danger);
        }

        .password-strength-medium {
            width: 66%;
            background: #ffc107;
        }

        .password-strength-strong {
            width: 100%;
            background: var(--success);
        }
    