/* ============================================================
 * 首页按钮（轨迹查询 / 我要寄件）
 * ============================================================ */
.login-mobile-btn {
    width: 188px;
    height: 56px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    font-size: 18px;
}
.login-mobile-btn i {
    font-size: 24px;
}

/* 滑动验证码样式 */
.verify-bar-area {
    position: relative;
    background: #FFFFFF;
    text-align: center;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
}

.verify-bar-area .verify-move-block {
    position: absolute;
    top: 0px;
    left: 0;
    background: #fff;
    cursor: pointer;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    box-shadow: 0 0 2px #888888;
    -webkit-border-radius: 1px;
}

.verify-bar-area .verify-move-block:hover {
    background-color: #337ab7;
    color: #FFFFFF;
}

.verify-bar-area .verify-left-bar {
    position: absolute;
    top: -1px;
    left: -1px;
    background: #f0fff0;
    cursor: pointer;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    border: 1px solid #ddd;
}

.verify-img-panel {
    margin: 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    border: 1px solid #ddd;
    border-radius: 3px;
    position: relative;
}

.verify-img-panel .verify-refresh {
    width: 25px;
    height: 25px;
    text-align: center;
    padding: 5px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.verify-img-panel .icon-refresh {
    font-size: 20px;
    color: #fff;
}

.verify-img-panel .verify-gap {
    background-color: #fff;
    position: relative;
    z-index: 2;
    border: 1px solid #fff;
}

.verify-bar-area .verify-move-block .verify-sub-block {
    position: absolute;
    text-align: center;
    z-index: 3;
}

.verify-bar-area .verify-move-block .verify-icon {
    font-size: 18px;
}

.verify-bar-area .verify-msg {
    z-index: 3;
}

/* 字体图标的css - 使用 Unicode 符号替代 */
.iconfont {
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-check:before { content: "\2713"; }
.icon-close:before { content: "\2715"; }
.icon-right:before { content: "\2192"; }
.icon-refresh:before { content: "\21bb"; }

/* ============================================================
 * 寄件模态窗
 * ============================================================ */
#login-mobile-modal .modal-dialog {
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    width: 420px;
    max-width: 420px;
}
#login-mobile-modal .modal-content {
    min-height: 400px;
    width: 420px;
}
#login-mobile-modal .modal-header {
    padding: 8px 14px;
    min-height: 38px;
    position: relative;
    text-align: center;
}
#login-mobile-modal .modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #888;
    text-align: center;
}
#login-mobile-modal .modal-header .close {
    position: absolute;
    right: 14px;
    top: 4px;
    margin: 0;
    opacity: .6;
    font-size: 24px;
}
#login-mobile-modal .modal-body {
    padding: 0 28px 24px;
}
.login-mobile-title {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin: 0 0 20px;
    padding-top: 10px;
}
.login-mobile-input-wrap {
    position: relative;
    margin-bottom: 14px;
}
.login-mobile-input-wrap input {
    width: 100%;
    height: 46px;
    border: 1px solid #d0d7e3;
    border-radius: 4px;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s;
}
.login-mobile-input-wrap input:focus { border-color: #5cacee; }
.login-mobile-input-wrap input::placeholder { color: #aaa; }
.login-mobile-sms-wrap {
    position: relative;
    margin-bottom: 14px;
}
.login-mobile-sms-wrap input {
    width: 100%;
    height: 46px;
    border: 1px solid #d0d7e3;
    border-radius: 4px;
    padding: 0 110px 0 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s;
}
.login-mobile-sms-wrap input:focus { border-color: #5cacee; }
.login-mobile-sms-wrap input::placeholder { color: #aaa; }
.login-mobile-btn-sms {
    position: absolute;
    right: 0;
    top: 0;
    height: 46px;
    padding: 0 14px;
    border: none;
    background: transparent;
    color: #4a9fd4;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}
.login-mobile-btn-sms:hover { color: #2176ae; }
.login-mobile-btn-sms:disabled { color: #aaa; cursor: not-allowed; }
.login-mobile-agree-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 10px 0 6px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
.login-mobile-agree-row label {
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.login-mobile-agree-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}
.login-mobile-agree-row a {
    color: #4a9fd4;
    text-decoration: none;
    cursor: pointer;
}
.login-mobile-agree-row a:hover { text-decoration: underline; }
.login-mobile-hint {
    font-size: 12px;
    color: #4a9fd4;
    margin: 0 0 16px;
    line-height: 1.6;
}
.login-mobile-btn-login {
    display: block;
    width: 100%;
    height: 46px;
    background: #5cacee;
    border: none;
    border-radius: 0;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s;
    margin-top: 4px;
}
.login-mobile-btn-login:hover { background: #3d8fc7; }
#login-mobile-loading {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}
#login-mobile-login-wrap { display: none; }

/* === 协议子模态窗（叠在寄件modal上） === */
#login-mobile-agreement {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0,0,0,.5);
    justify-content: flex-end;
    align-items: stretch;
}
#login-mobile-agreement.active { display: flex; }
.login-mobile-agr-panel {
    width: 50%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,.15);
}
.login-mobile-agr-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.login-mobile-agr-panel-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #888;
    text-align: center;
}
.login-mobile-agr-panel-close {
    position: absolute;
    right: 16px;
    top: 8px;
    background: none;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.login-mobile-agr-panel-close:hover { color: #333; }
.login-mobile-agr-panel-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.login-mobile-agr-panel-body iframe {
    flex: 1;
    width: 100%;
    border: none;
    display: block;
}
