/* 会员登录页面样式 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* 容器样式 */
.w-full {
    width: 100%;
}

.max-w-md {
    max-width: 28rem;
}

/* 卡片样式 */
.bg-white {
    background-color: #ffffff;
}

.rounded-2xl {
    border-radius: 1rem;
}

.shadow-custom {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.p-8 {
    padding: 2rem;
}

/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #165DFF 0%, #36CFC9 100%);
}

/* 文本样式 */
.text-center {
    text-align: center;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

/* 颜色样式 */
.text-white {
    color: #ffffff;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-red-500 {
    color: #ef4444;
}

.text-red-700 {
    color: #b91c1c;
}

.text-red-800 {
    color: #991b1b;
}

.text-blue-600 {
    color: #2563eb;
}

.text-blue-800 {
    color: #1e40af;
}

/* 间距样式 */
.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-3 {
    margin-left: 0.75rem;
}

/* 布局样式 */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* 圆形样式 */
.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

/* 尺寸样式 */
.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

/* 边框样式 */
.border {
    border-width: 1px;
}

.border-red-200 {
    border-color: #fecaca;
}

.border-gray-300 {
    border-color: #d1d5db;
}

/* 背景样式 */
.bg-red-50 {
    background-color: #fef2f2;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

/* 表单样式 */
.block {
    display: block;
}

.w-full {
    width: 100%;
}

.pl-10 {
    padding-left: 2.5rem;
}

.pr-3 {
    padding-right: 0.75rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.pl-3 {
    padding-left: 0.75rem;
}

/* 输入框样式 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 按钮样式 */
button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #165DFF 0%, #36CFC9 100%);
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

/* 链接样式 */
a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1e40af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-500:hover {
    color: #374151;
}

/* 相对定位 */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-y-0 {
    top: 0;
    bottom: 0;
}

.left-0 {
    left: 0;
}

.pointer-events-none {
    pointer-events: none;
}

/* 隐藏样式 */
.hidden {
    display: none;
}

/* 响应式设计 */
@media (max-width: 640px) {
    .p-8 {
        padding: 1.5rem;
    }
    
    .text-2xl {
        font-size: 1.25rem;
    }
    
    .w-16 {
        width: 3rem;
    }
    
    .h-16 {
        height: 3rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-white {
    animation: fadeIn 0.3s ease-out;
}
