/* ==========================================================================
   BIGLOBE Login Page - Component Styles
   Reusable component styles for forms, buttons, tables, etc.
   ========================================================================== */

/* Header Component */
.biglobe-header {
    width: 100%;
    margin-bottom: 10px;
}

.biglobe-header-content {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.biglobe-logo {
    display: table-cell;
    width: 134px;
    height: 55px;
    vertical-align: middle;
}

.biglobe-logo img {
    border: 0;
}

.biglobe-header-spacer {
    display: table-cell;
    width: 616px;
    vertical-align: middle;
    text-align: right;
}

/* Section Title Component */
.biglobe-section-title {
    margin: 0 0 15px;
    padding: 0.25em 0.5em;
    color: #494949;
    background: transparent;
    border-left: solid 5px #7db4e6;
    border-bottom: none;
    font-size: 2.4em;
    line-height: 1.2;
}

.biglobe-section-title--au {
    border-left-color: #ff4500;
    line-height: 1.5;
}

/* 桌面端标题加粗 */
@media screen and (min-width: 750px) {
    .biglobe-section-title,
    .biglobe-section-title--au,
    .au-title {
        font-weight: bold;
    }
}

.biglobe-subtitle {
    font-size: 0.5em;
    width: 250px;
    margin: 5px 0 0 0;
    font-weight: normal;
}

/* Form Components */
.biglobe-form-table-wrapper {
    margin: 0 10px 0 20px;
}

.biglobe-form-table {
    letter-spacing: normal;
    margin: 10px 0;
    border-collapse: collapse;
    width: 360px;
}

.biglobe-form-table th {
    padding: 7px;
    border: #cbcbcb 1px solid;
    line-height: 140%;
    background-color: #d0e8f2;
    font-weight: normal;
    font-size: 1.4em;
}

.biglobe-form-table .biglobe-form-cell {
    padding: 7px;
    border: #cbcbcb 1px solid;
    line-height: 140%;
    background-color: #ffffff;
    font-size: 1.4em;
}

.biglobe-form-table .biglobe-form-cell--no-border {
    border: none;
}

.biglobe-input-cell {
    border: none !important;
    padding: 2px 0 4px 0 !important;
}

/* Checkbox Component */
.biglobe-checkbox-cell {
    padding: 7px 0 5px 5px !important;
}

.biglobe-checkbox-label {
    display: block;
    cursor: pointer;
}

.biglobe-checkbox-label input[type="checkbox"] {
    margin: 0 5px 0 0;
    vertical-align: top;
}

.biglobe-caption {
    padding: 0;
    clear: both;
    line-height: 140%;
    color: #000;
    font-size: 90%;
}

/* Submit Area Component */
.biglobe-form-submit-area {
    text-align: center;
    margin: 20px 0;
    display: inline-table;
}

.biglobe-submit-button {
    float: left;
    margin-left: 20px;
    margin-top: 0px;
    border: 0;
    cursor: pointer;
}

/* AU Button Component */
.biglobe-au-button-wrapper {
    margin: -5px 0 -5px -10px;
}

.biglobe-au-submit-button {
    width: 200px;
    border: 0;
    cursor: pointer;
}

/* Form Text Components */
.biglobe-form-notice {
    font-size: 1.2em;
    margin-left: 10px;
    color: #333;
}

/* 桌面端form-notice设置 */
@media screen and (min-width: 750px) {
    .biglobe-form-notice,
    .form-notice {
        margin: 10px 0 0 31px; /* 上方margin设置为10px，继续向右移动6px：从25px改为31px */
        white-space: nowrap; /* 强制文字显示为一行 */
        overflow: visible; /* 允许内容溢出显示 */
        width: auto; /* 自动宽度 */
        min-width: max-content; /* 最小宽度为内容宽度 */
        text-align: center; /* 桌面端文字居中显示 */
    }

    /* AU区域的form-notice特殊处理 */
    .biglobe-au-login-section .biglobe-form-notice,
    .biglobe-au-login-section .form-notice {
        position: relative; /* 相对定位 */
        z-index: 10; /* 提高层级 */
        margin: 10px 0 0 1px; /* 上方margin 10px，继续向右移动6px：从-5px改为1px */
        width: 300px; /* 给予足够宽度 */
        text-align: center; /* AU区域文字也居中显示 */
        white-space: nowrap; /* 强制文字显示为一行 */
        overflow: visible; /* 允许内容溢出显示 */
    }
}

.biglobe-form-links {
    padding: 0 25px;
    font-size: 1.4em;
}

.biglobe-au-description {
    line-height: 150%;
    font-size: 1.2em;
    margin-left: 20px;
    margin-top: 10px;
    width: 225px;
}

.biglobe-au-links {
    font-size: 1.2em;
    margin-left: 20px;
    margin-top: 10px;
}

.biglobe-question-link {
    font-size: 0.9em;
    margin-left: -10px;
    line-height: 100%;
}

/* Important Message Component */
.biglobe-important-msg {
    margin: 10px 0 20px;
    padding: 5px !important;
    border: 2px solid #d5d5d5;
    text-align: left;
    font-size: 1.4em;
}

/* Attention Section Component */
.biglobe-attention {
    margin: 0;
    padding: 0;
    text-align: left;
}

.biglobe-attention-title {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: #dedede 1px solid;
    font-weight: bold;
    font-size: 1.6em;
}

.biglobe-attention-list {
    margin: 0 10px;
    padding: 0;
    line-height: 150%;
    list-style-type: none;
    font-size: 1.2em;
}

.biglobe-attention-item {
    padding-left: 10px;
    line-height: 150%;
    color: #333333;
    background: url(../img/arrow_bl.gif) no-repeat 0 6px;
}

/* Footer Component */
.biglobe-footer {
    margin: 0 auto 20px;
    border-top: #cccccc 1px solid;
    width: 100%;
    max-width: 750px;
    line-height: 250%;
    font-size: 0.7em;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.biglobe-footer-address {
    display: inline;
    float: left;
    font-style: normal;
    font-size: 1.1em;
}

.biglobe-footer-links {
    margin: 8px 0;
    float: right;
    font-size: 110%;
    white-space: nowrap;
    display: flex;
    align-items: flex-start;
}

.biglobe-footer-text-links {
    float: left;
    text-align: left;
    line-height: 1.5;
    margin-top: 30px;
    margin-right: 10px;
}

/* Overlay Component */
.biglobe-overlay {
    display: none;
}
