/* 表单输入框样式优化 */

/* 输入框基本样式 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px !important;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* 输入框焦点状态 */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px);
}

/* 文本区域样式 */
textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* 标签样式 */
.field label {
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* 标签悬停效果 */
.field:hover label {
    opacity: 1;
}

/* 输入框占位符样式 */
::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* 按钮样式优化 */
input[type="submit"],
input[type="reset"] {
    padding: 0 1.5rem;
    height: 3rem;
    line-height: 3rem;
    border-radius: 8px !important;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2) !important;
}

/* 表单布局优化 */
.fields {
    margin: -15px 0 20px 0 !important;
}

.field {
    padding: 15px 0 !important;
}

/* 响应式调整 */
@media screen and (max-width: 736px) {
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="tel"] {
        height: 3.2rem;
    }
    
    .field.half {
        width: 100% !important;
    }
}