/* 基础样式重置和全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    min-height: 100vh;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.row {
    margin: 0 !important;
    width: 100%;
    flex: 1;
    display: flex;
}

.col {
    padding: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.col.s12 {
    padding: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 卡片样式 */
.card {
    margin: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    background: white;
}

.card-content {
    padding: 30px !important;
}

.card-title {
    color: #2c3e50;
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-bottom: 30px !important;
}

/* 欢迎区域样式 */
.welcome-section {
    text-align: center;
    margin: 40px 0;
    color: #1a237e;
}

.welcome-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-text {
    font-size: 18px;
    color: #546e7a;
    line-height: 1.6;
}

/* 年龄选项样式优化 */
.age-options {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin: 40px 0;
    width: 100%;
    justify-content: space-between;
}

.age-option {
    flex: 1;
    min-width: 0;
    background: white;
    border: 2px solid #e3f2fd;
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.age-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(66, 153, 225, 0.1);
}

.age-option.selected {
    border-color: #2196F3;
    background-color: #e3f2fd;
}

.age-option-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}

.age-option-icon i {
    font-size: 36px !important;
    color: #2196F3;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.age-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.age-option-title {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
}

.age-option-desc {
    font-size: 14px;
    color: #64748b;
}

/* 名字输入框样式 */
.name-field {
    margin-top: 40px !important;
}

.input-field .prefix {
    font-size: 24px !important;
    color: #2196F3;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* 信息提示区域 */
.info-section {
    margin: 40px 0;
}

.info-card {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-card i {
    color: #2196F3;
    font-size: 24px;
}

.info-card p {
    margin: 0;
    color: #1e3a8a;
    font-size: 16px;
    line-height: 1.6;
}

/* 按钮容器样式 */
.card-action {
    padding: 20px 30px !important;
    border-top: 1px solid #edf2f7 !important;
    display: flex;
    justify-content: center;  /* 水平居中 */
    align-items: center;      /* 垂直居中 */
}

.btn {
    width: auto !important;   /* 移除宽度限制 */
    min-width: 250px;        /* 设置最小宽度 */
    height: 54px !important;
    line-height: 54px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%) !important;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3) !important;
    padding: 0 40px !important;  /* 增加左右内边距 */
}

.btn:hover {
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .welcome-section {
        margin: 30px 0;
    }

    .welcome-section h2 {
        font-size: 28px;
    }

    .age-options {
        gap: 10px;
        margin: 30px 0;
    }

    .age-option {
        padding: 15px 8px;
    }

    .age-option-icon i {
        font-size: 24px !important;
    }

    .age-option-title {
        font-size: 24px;
    }
}

/* 输入框标签样式 */
.input-field label {
    font-size: 18px !important;
    color: #718096 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* 按钮中的图标居中 */
.btn i.material-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}

/* 输入框前缀图标居中 */
.input-field .prefix {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}