@charset "UTF-8";
/* CSS Document */



        .dcs {
            background: linear-gradient(145deg, #f0f4fa 0%, #e2e8f0 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            padding: 1.5rem;
			box-sizing: border-box;
        }
/* 表单卡片 */
        .form-card {
            max-width: 620px;
            width: 100%;
            background: #ffffff;
            padding: 2rem 2rem 2.2rem;
            transition: all 0.2s ease;
        }

        .form-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 0.5rem;
            letter-spacing: -0.01em;
        }

        .form-sub {
            color: #475569;
            font-size: 0.9rem;
            margin-bottom: 2rem;
            border-left: 3px solid #3b82f6;
            padding-left: 0.75rem;
        }

        /* 电话输入区域 - 双栏结构 */
        .phone-field {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1.8rem;
        }

        /* 左侧国家选择器容器 (带筛选) */
        .country-selector {
            flex: 1.2;
            min-width: 180px;
            position: relative;
        }

        /* 右侧号码输入区域 */
        .phone-number-input {
            flex: 2;
            min-width: 200px;
			height:48px;
			border-radius:5px;
			
        }

        /* 自定义下拉组件样式 (模拟带搜索的下拉) */
        .custom-select {
            position: relative;
            width: 100%;
            user-select: none;
        }

        .select-trigger {
            border-radius: 1.25rem;
            padding: 0.85rem 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 500;
            color: #0f172a;
            font-size: 0.95rem;
        }

        .select-trigger:hover {
            border-color: #cbd5e1;
        }

        .select-trigger.active {
        }

        .trigger-content {
            display: flex;
            align-items: center;
            gap: 10px;
            overflow: hidden;
            white-space: nowrap;
        }

        .country-flag {
            font-size: 1.25rem;
            line-height: 1;
        }

        .country-name {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 110px;
        }

        .country-code {
            color: #3b82f6;
            font-weight: 600;
            margin-left: 4px;
			display:none;
        }

        .arrow {
            font-size: 0.8rem;
            color: #64748b;
            transition: transform 0.2s;
        }

        .select-trigger.active .arrow {
            transform: rotate(180deg);
        }

        /* 下拉面板 带搜索框 */
        .select-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            width: 100%;
            background: white;
            border-radius: 5px;
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
            border: 1px solid #eef2ff;
            z-index: 100;
            display: none;
            max-height: 320px;
            overflow-y: auto;
            backdrop-filter: blur(2px);
        }

        .select-dropdown.show {
            display: block;
            animation: fadeIn 0.15s ease;
        }

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

        /* 搜索框区域 */
        .search-box {
            padding: 12px 12px 8px;
            position: sticky;
            top: 0;
            background: white;
            /*border-radius: 1.2rem 1.2rem 0 0;*/
			
        }

        .search-box input {
            width: 92%!important;
			padding:0px 2%;
			margin-bottom:10px;
			box-sizing: border-box;
			border:#eee solid 1px;
            border-radius: 5px;
            font-size: 0.85rem;
            outline: none;
            transition: 0.2s;
        }

        .search-box input:focus {
            border-color: #3b82f6;
            background: white;
			text-align:center;
        }

        /* 国家列表项 */
        .country-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 0.7rem 1rem;
            cursor: pointer;
            transition: background 0.1s;
            border-bottom: 1px solid #f1f5f9;
        }

        .country-item:hover {
            background: #f1f5f9;
        }

        .country-item.selected {
            background: #eef2ff;
            border-left: 3px solid #3b82f6;
        }

        .country-flag-icon {
            font-size: 1.2rem;
            width: 28px;
            text-align: center;
        }

        .country-info {
            flex: 1;
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 5px;
        }

        .country-full-name {
            font-weight: 500;
            font-size: 0.9rem;
            color: #1e293b;
        }

        .country-dial-code {
            font-size: 0.8rem;
            background: #eef2ff;
            padding: 2px 8px;
            border-radius: 30px;
            color: #2563eb;
            font-weight: 500;
        }

        /* 右侧电话号码输入框 */
        .phone-input-wrapper {
            display: flex;
			height:48px;
            align-items: center;
            transition: all 0.2s;
            padding: 0 0.25rem 0 1rem;
        }

        .phone-input-wrapper:focus-within {
            border-color: #3b82f6;
        }

        .dial-code-preview {
            font-weight: 600;
            color: #0f172a;
            padding: 0.35rem 0rem;
            border-radius: 2rem;
            font-size: 16px;
            margin-right: 8px;
            white-space: nowrap;
			text-align:right;
        }

        .phone-number-input-field {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 1rem;
            outline: none;
            font-family: inherit;
            color: #0f172a;
			
        }

        .phone-number-input-field::placeholder {
            color: #94a3b8;
            font-weight: 400;
        }

        /* 辅助提示 */
        .helper-text {
            font-size: 0.75rem;
            color: #5b6e8c;
            margin-top: 0.5rem;
            margin-left: 0.5rem;
        }

        .error-message {
            color: #e11d48;
            font-size: 0.75rem;
            margin-top: 0.3rem;
            margin-left: 0.5rem;
            display: none;
        }

        /* 表单动作 */
        .form-actions {
            margin-top: 2rem;
            display: flex;
            gap: 1rem;
            justify-content: flex-end;
        }

        .btn {
            padding: 0.7rem 1.5rem;
            border-radius: 2.5rem;
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: 0.2s;
            font-family: inherit;
            font-size: 0.9rem;
        }

        .btn-primary {
            background: #0f172a;
            color: white;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }

        .btn-primary:hover {
            background: #1e293b;
            transform: translateY(-1px);
        }

        .btn-secondary {
            background: #f1f5f9;
            color: #334155;
        }

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

        hr {
            margin: 1rem 0;
            border-color: #ecf3fa;
        }

        /* 滚动条美化 */
        .select-dropdown::-webkit-scrollbar {
            width: 6px;
        }

        .select-dropdown::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 8px;
        }

        .select-dropdown::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 8px;
        }

        @media (max-width: 560px) {
            .form-card {
                padding: 1.5rem;
            }
            .phone-field {
                flex-direction: column;
                gap: 1rem;
            }
            .country-selector, .phone-number-input {
                width: 100%;
            }
        }