html {
    font-size: 16px;

}

@media (max-width: 750px) {
    html {
        font-size: calc(12px + (16 - 12) * (100vw - 320px) / (750 - 320));
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(130deg, #1e293b 0%, #475569 50%, #1e293b 100%);
    overflow: hidden;
    --text-color: #fff;
    --text-gray-color: #999;
    --active-color: #3b82f6;
    color: var(--text-color);
}

.page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.card {
    min-width: 40rem;
    max-width: 100vw;
    background-color: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 0.7rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
}

.card-header {
    background: linear-gradient(90deg, var(--active-color), #8b5cf6);
    padding: 1.3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header p {
    margin-top: 15px;
    font-size: 0.8rem;
}

.card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.card-body {
    max-height: 70vh;
    overflow-y: scroll;
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    scrollbar-width: none;
}

.card-body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.experience {
    min-height: 55vh;
    overflow-y: scroll;
}

/* ---- 步骤1开始 google登录样式  ---- */

.google-btn {
    margin: 1.5rem 0 2.5rem 0;
    width: 100%;
    height: 4rem;
    border-radius: 36px;
    border: 1px solid #e0e1e7;
    font-weight: 600;
    font-size: 16px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.google-btn img {
    margin-right: 10px;
    width: 1.5rem;
}

.google-btn:hover {
    background-color: var(--text-color);
    color: #000;
    border-color: #b0b1b7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.google-btn:hover img {
    transform: scale(1.1);
}

.google-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.google-btn.loading {
    cursor: not-allowed;
    border-color: #d1d5db;
    opacity: 0.9;
}

.google-btn.loading img {
    animation: spin 1s linear infinite;
}

.tips {
    font-size: 0.8rem;
    line-height: 1.5rem;
}

/* ---- 步骤1结束  ---- */




/* ---- 步骤2开始 选择有无自媒体运营经验  ---- */
.experience-options {
    width: 50rem;
    display: flex;
    justify-content: center;
    gap: 10rem;
    margin: 2rem 0;
}

.exp-btn {
    padding: 2rem 1rem;
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-gray-color);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.exp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.5s ease;
    z-index: 0;
}

.exp-btn:hover::after {
    width: 100%;
}

.exp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    color: var(--text-color);
}

.exp-btn.selected {
    border-color: var(--active-color);
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--text-color);
}

.exp-btn.selected::before {
    content: '✓';
    position: absolute;
    top: 0.2rem;
    right: 0.3rem;
    color: var(--active-color);
    font-size: 1.2rem;
}

.exp-btn span {
    position: relative;
    z-index: 1;
}

/* ---- 步骤2结束 ---- */



/* ---- 步骤3开始 作品信息 ---- */

/* 步骤3样式补充 */
.form-left {
    width: 15rem;
}

.video-esp {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.video-esp-item {

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* color: var(--text-gray-color);
    border: 1px solid var(--text-gray-color);
    transition: all 0.3s ease; */
}

.video-esp-item:hover {
    color: var(--active-color);
    border-color: var(--active-color);
}

.video-wrap {
    margin: .8rem 0;
}

.video-wrap .video {
    height: 50vh;
    max-height: 500px;
}


.video-esp-item.active {
    color: var(--active-color);
    border-color: var(--active-color);
}

.form-right .form-group {
    width: 40rem;
}

.form-right .form-label {
    width: 9rem;
}

.form-right .upload-area {
    width: 8rem;
    height: 8rem;
}

.form-right .preview-image {
    width: 8rem;
}

.form-group {
    display: flex;
    align-items: center;
    width: 50rem;
    margin-bottom: 2rem;
}

.form-label {
    display: inline-block;
    margin-right: 1rem;
    width: 13rem;
    text-align: right;
    font-size: 1rem;
    font-weight: 500;
}

.form-content {
    flex: 1 1 0;
    width: 0;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--active-color);
}

.upload-area {
    width: 10rem;
    height: 10rem;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.upload-area:hover {
    border-color: var(--active-color);
    background-color: rgba(59, 130, 246, 0.05);
}

.upload-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.upload-text {
    font-size: 1rem;
    color: var(--text-gray-color);
}

.upload-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.preview-image {
    margin-right: 1rem;
    width: 10rem;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.preview-image img {
    display: block;
    width: 100%;
    transition: filter 0.3s ease;
}

.delete-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.preview-image:hover .delete-btn {
    opacity: 0.5;
}


.preview-image:hover img {
    filter: brightness(0.7);
}


@media (max-width: 750px) {
    .preview-image {
        width: 8rem;
        height: 8rem;
    }

    .delete-btn {
        opacity: 0.9;
    }
}

/* ---- 步骤3结束 ---- */


/* 底部按钮样式 */
.btn-group {
    padding: 1rem 2rem 2rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    width: 100%;
}

.btn-group .btn {
    width: 9rem;
    height: 2.5rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-group .btn.loading {
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: #666;
}

.btn-group .btn.loading .loading-spinner {
    border-top-color: #999;
}

.btn-group .btn-outline {
    background: transparent;
    border: 1px solid var(--text-gray-color);
    color: var(--text-gray-color);
}

.btn-group .btn-outline:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background-color: rgba(59, 130, 246, 0.05);
}

.btn-group .btn-solid {
    background: linear-gradient(90deg, var(--active-color), #8b5cf6);
    border: none;
    color: white;
}

.btn-group .btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-group .btn-solid:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 旋转动画定义 */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* 自定义选择器容器 */
.custom-select {
    position: relative;
    width: 100%;
}

/* 选择器输入框样式（与form-input保持一致） */
.select-input {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

/* 选中状态样式（与input:focus一致） */
.custom-select.active .select-input,
.select-input:hover {
    border-color: #3b82f6;
    outline: none;
}

/* 占位符样式 */
.select-input .placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* 下拉箭头图标 */
.select-icon {
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

/* 下拉展开时旋转箭头 */
.custom-select.active .select-icon {
    transform: rotate(180deg);
}

/* 下拉选项列表 */
.select-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: 20rem;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 选项样式 */
.select-option {
    padding: 1rem;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.select-option:hover {
    background-color: rgba(59, 130, 246, 0.15);
}

/* 选中选项样式 */
.select-option.selected {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    font-weight: 500;
}

/* 滚动条样式优化 */
.select-options::-webkit-scrollbar {
    width: 6px;
}

.select-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.select-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* 移动端适配 */
@media (max-width: 750px) {
    .select-input {
        height: 3rem;
        font-size: 0.9rem;
    }

    .select-option {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}


/* 基础消息框样式 */
.el-message {
    position: fixed;
    top: -100px;
    /* 初始位置在视口上方 */
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    z-index: 9000;
    transition: top 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    max-width: calc(100% - 32px);
}

/* 显示状态 */
.el-message.is-visible {
    top: 20px;
    /* 显示时移动到顶部 */
}

/* 图标样式 */
.el-message__icon {
    margin-right: 8px;
    font-size: 16px;
}

/* 内容样式 */
.el-message__content {
    margin: 0;
    font-size: 14px;
    line-height: 1;
}


.el-message--success {
    color: #67c23a;
}



.el-message--warning {
    color: #e6a23c;
}

/* 遮罩层 */
.loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 9998;
}

/* 加载内容容器 */
.loading-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem 2.5rem;
    background-color: rgba(30, 41, 59, 0.95);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
}

/* 加载文本 */
.loading-text {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.success-tip {
    text-align: center;
    font-size: 1.2rem;
    line-height: 3rem;
}

.success-icon {
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border: 6px solid #10b981;
    border-radius: 50%;
}

.error-icon {
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border: 6px solid #ef4444;
    border-radius: 50%;
}


.qr {
    margin: 1rem auto;
    width: 17rem;
    height: 17rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.qr img {
    width: 15rem;
    height: 15rem;
}