body {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(160deg,
    rgba(42, 38, 32, 0.85) 0%,
    rgba(31, 28, 20, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 158, 85, 0.25);
    border-radius: 16px;
    padding: 36px 28px;
    margin: auto 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(196, 158, 85, 0.08) inset;
    position: relative;
}

/* 卡片顶部金色装饰线 */
.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
    transparent,
    rgba(196, 158, 85, 0.6),
    transparent);
}

.logo {
    text-align: center;
    margin-bottom: 12px;
}
.logo img {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    /*filter: drop-shadow(0 4px 12px rgba(196, 158, 85, 0.45));*/
}

.login-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #c49e55;
    letter-spacing: 2px;
}

.login-subtitle {
    text-align: center;
    font-size: 13px;
    color: rgba(245, 233, 207, 0.55);
    margin-bottom: 8px;
}

.drone-tag {
    text-align: center;
    font-size: 12px;
    color: #c49e55;
    margin-bottom: 28px;
    letter-spacing: 1px;
    word-break: break-all;
    opacity: 0.85;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: rgba(245, 233, 207, 0.65);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    height: 46px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(196, 158, 85, 0.2);
    border-radius: 10px;
    padding: 0 14px;
    font-size: 16px;
    color: #f5e9cf;
    outline: none;
    -webkit-appearance: none;
    transition: border-color 0.2s, background 0.2s;
}

/* ==================== 输入框 + 眼睛图标 ==================== */
.input-wrap {
    position: relative;
}

.input-wrap input {
    /* 给眼睛图标留出右侧空间 */
    padding-right: 46px !important;
}

.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 233, 207, 0.5);
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
    color: #c5a67e;
}

.password-toggle:hover {
    color: #c49e55;
}

.password-toggle:active {
    color: #c49e55;
    transform: translateY(-50%) scale(0.92);
}

.password-toggle svg {
    display: block;
    pointer-events: none;
}

.form-group input::placeholder {
    color: rgba(245, 233, 207, 0.3);
}

.form-group input:focus {
    border-color: #c49e55;
    background: rgba(0, 0, 0, 0.35);
}

.form-check {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(245, 233, 207, 0.7);
    margin: 6px 0 22px;
    user-select: none;
}

.form-check input {
    margin-right: 6px;
    width: 16px;
    height: 16px;
    accent-color: #c49e55;
}

.login-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #d4b06b, #c49e55 50%, #a8853e);
    color: #1a1812;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(196, 158, 85, 0.35);
}

.login-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(196, 158, 85, 0.25);
}

.login-btn:disabled {
    opacity: 0.5;
    box-shadow: none;
}

.login-msg {
    min-height: 20px;
    text-align: center;
    font-size: 13px;
    color: #e57373;
    margin-top: 12px;
}
/* ==================== 登录提示 ==================== */
.login-tips {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(196, 158, 85, 0.15);
    text-align: center;
    font-size: 13px;
    color: rgba(245, 233, 207, 0.55);
    letter-spacing: 0.5px;
}

.login-tips-phone {
    color: #c49e55;
    font-weight: 500;
    text-decoration: none;
    margin-left: 4px;
    letter-spacing: 1px;
    transition: opacity 0.2s;
}

.login-tips-phone:active {
    opacity: 0.7;
}
@media (orientation: landscape) and (max-height: 500px) {
    .login-tips {
        margin-top: 14px;
        padding-top: 12px;
        font-size: 12px;
    }
}