/* ============================================
   TCPay 登录页 - 深色科技风格
   ============================================ */

/* 全屏深色渐变背景，替代背景图 */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 100, 200, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 200, 180, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(100, 0, 200, 0.10) 0%, transparent 40%),
        linear-gradient(135deg, #060d1f 0%, #0a1628 40%, #0d1f3c 70%, #081420 100%);
    z-index: 0;
}

/* 动态网格线装饰 */
.bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 160, 220, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 160, 220, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* 顶部发光线条 */
.bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00c8ff, #0080ff, #00c8ff, transparent);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.6);
}

body {
    color: #c8d8f0;
    font-size: 14px;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

input, select, textarea {
    color: #e2ecff;
}

/* 整体布局容器 */
.container {
    position: relative;
    z-index: 1;
}

/* 登录卡片 */
.panel {
    background: rgba(10, 22, 48, 0.75);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(0, 180, 255, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 120, 220, 0.12);
}

/* 登录框 */
.loginbox {
    background: transparent;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    min-width: 340px;
}

/* 标题区域 */
.loginbox h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 200, 255, 0.5), 0 0 40px rgba(0, 120, 255, 0.3);
    margin-bottom: 4px;
}

/* 副标题 */
.login-subtitle {
    font-size: 13px;
    color: rgba(140, 180, 220, 0.7);
    letter-spacing: 3px;
    margin-top: 4px;
    margin-bottom: 0;
}

/* 顶部装饰横线 */
.loginbox::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00c8ff 30%, #0070ff 70%, transparent);
    border-radius: 16px 16px 0 0;
}

/* 输入框容器 */
.form-group {
    margin-bottom: 16px;
}

/* 输入框样式 */
.input.input-big {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 160, 255, 0.20);
    border-radius: 8px;
    color: #e2ecff;
    transition: all 0.25s ease;
    outline: none;
}

.input.input-big::placeholder {
    color: rgba(140, 170, 210, 0.5);
    font-size: 14px;
}

.input.input-big:focus {
    background: rgba(0, 120, 255, 0.08);
    border-color: rgba(0, 180, 255, 0.60);
    box-shadow: 0 0 0 3px rgba(0, 160, 255, 0.12), 0 0 12px rgba(0, 160, 255, 0.10);
    color: #ffffff;
}

/* 验证码图片对齐 */
.passcode {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    margin: 0;
    border-left: 1px solid rgba(0, 160, 255, 0.2);
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.passcode:hover {
    opacity: 1;
}

/* field 定位 */
.field {
    position: relative;
}

.field-icon-right .icon {
    bottom: 0;
    top: auto;
    color: rgba(100, 160, 220, 0.6);
}

/* 登录按钮 */
.button.bg-main {
    background: linear-gradient(135deg, #0070e0 0%, #00a8e8 50%, #0056c0 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 14px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 120, 220, 0.4), 0 0 0 1px rgba(255,255,255,0.08) inset;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.button.bg-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.button.bg-main:hover {
    background: linear-gradient(135deg, #0080f0 0%, #00b8f8 50%, #0066d0 100%);
    box-shadow: 0 6px 28px rgba(0, 140, 240, 0.55), 0 0 0 1px rgba(255,255,255,0.12) inset;
    transform: translateY(-1px);
}

.button.bg-main:hover::before {
    left: 100%;
}

.button.bg-main:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(0, 100, 200, 0.4);
}

/* 面板内边距 */
.panel-body {
    padding: 20px 30px 0;
}

/* 按钮外层 */
div[style*="padding:30px"] {
    padding: 20px 30px 30px !important;
}

/* 问号 icon 颜色 */
.icon-question-circle {
    color: rgba(100, 160, 220, 0.5);
}

ul, li {
    list-style-type: none;
}
