@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css");

:root {
    --warm-bg-1: #ff7d66;
    --warm-bg-2: #ff986f;
    --warm-bg-3: #ffc08a;
    --warm-brand-1: #ff7f67;
    --warm-brand-2: #ff9f78;
    --warm-brand-3: #ffc58f;
    --warm-accent: #ff7a5c;
    --warm-accent-deep: #f4684b;
    --warm-title: #5a2e24;
    --warm-text: #835f55;
    --warm-line: #f6d9cf;
}

body {
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 198, 167, 0.3), transparent 42%),
        radial-gradient(circle at 90% 10%, rgba(255, 239, 201, 0.35), transparent 46%),
        linear-gradient(135deg, var(--warm-bg-1) 0%, var(--warm-bg-2) 45%, var(--warm-bg-3) 100%);
}

.delivery-login {
    max-width: 1280px;
    margin: 26px auto 38px;
    padding: 0 20px;
}

.delivery-login-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    min-height: 620px;
}

.delivery-brand,
.delivery-panel {
    border-radius: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.delivery-brand {
    padding: 52px 48px;
    color: #fff6f1;
    background: linear-gradient(160deg, rgba(241, 121, 95, 0.86), rgba(255, 160, 115, 0.84));
    border: 1px solid rgba(255, 244, 236, 0.45);
    box-shadow: 0 22px 60px rgba(151, 73, 52, 0.28);
    position: relative;
    overflow: hidden;
}

.delivery-brand::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: -130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 245, 214, 0.55) 0%, rgba(255, 245, 214, 0) 72%);
}

.brand-badge {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 999px;
    letter-spacing: 1px;
    background: rgba(255, 239, 201, 0.22);
    border: 1px solid rgba(255, 248, 229, 0.58);
}

.delivery-brand h1 {
    margin: 24px 0 14px;
    font-size: 44px;
    line-height: 1.25;
    color: #ffffff;
}

.delivery-brand p {
    margin: 0;
    max-width: 560px;
    line-height: 1.8;
    color: #fff1e8;
    font-size: 17px;
}

.brand-metrics {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric-item {
    padding: 18px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 244, 236, 0.46);
}

.metric-item strong {
    display: block;
    font-size: 30px;
    margin-bottom: 8px;
    color: #f8fcff;
    line-height: 1;
}

.metric-item span {
    color: #ffefe6;
    font-size: 14px;
}

.brand-tags {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.brand-tags li {
    padding: 10px 16px;
    border-radius: 12px;
    color: #f2fbff;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.brand-tags i {
    margin-right: 8px;
    color: #fff0b2;
}

.delivery-panel {
    padding: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 45px rgba(133, 64, 44, 0.2);
}

.panel-head h2 {
    margin: 0;
    color: var(--warm-title);
    font-size: 34px;
}

.panel-head p {
    margin: 10px 0 0;
    color: var(--warm-text);
    font-size: 15px;
}

.login-form {
    margin-top: 28px;
}

.field-item {
    margin-bottom: 20px;
}

.field-item label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #7c5348;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    margin-top: -8px;
    color: #d58f7f;
}

.input {
    width: 100%;
    height: 52px;
    border: 1px solid #f0d2c8;
    border-radius: 14px;
    padding: 0 15px 0 44px;
    box-sizing: border-box;
    font-size: 15px;
    color: #684035;
    background: #fff8f4;
    transition: all 0.25s ease;
}

.input:focus {
    outline: none;
    border-color: var(--warm-accent);
    box-shadow: 0 0 0 3px rgba(255, 122, 92, 0.2);
    background: #ffffff;
}

.input-wrapper-code {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-wrapper-code .input {
    flex: 1;
}

.authcode {
    width: 128px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #f0d2c8;
    background: #fff;
}

.remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0 18px;
}

.remember-label {
    color: #7e6059;
    font-size: 14px;
}

.checkbox {
    margin-right: 6px;
}

.forget-link {
    color: var(--warm-accent);
    text-decoration: none;
}

.forget-link:hover {
    text-decoration: underline;
}

.typebtn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(120deg, var(--warm-brand-1) 0%, var(--warm-brand-2) 48%, var(--warm-brand-3) 100%);
    box-shadow: 0 12px 28px rgba(236, 111, 83, 0.34);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.typebtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(220, 95, 68, 0.4);
}

.forreg {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #9a776f;
}

.forreg-link {
    color: var(--warm-accent-deep);
    text-decoration: none;
    font-weight: 600;
}

.forreg-link:hover {
    text-decoration: underline;
}

.other-login {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px dashed var(--warm-line);
    text-align: center;
}

.other-login p {
    margin: 0 0 14px;
    font-size: 13px;
    color: #9a7a72;
}

.other-login-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.other-login-list img {
    display: block;
}

.clear,
.clearfix {
    clear: both;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 1100px) {
    .delivery-login-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .delivery-brand,
    .delivery-panel {
        border-radius: 22px;
    }
}

@media (max-width: 640px) {
    .delivery-login {
        margin-top: 18px;
        padding: 0 12px;
    }

    .delivery-brand,
    .delivery-panel {
        padding: 24px 18px;
    }

    .delivery-brand h1 {
        font-size: 30px;
    }

    .delivery-brand p {
        font-size: 15px;
    }

    .brand-metrics {
        grid-template-columns: 1fr;
    }

    .panel-head h2 {
        font-size: 28px;
    }

    .remember-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.delivery-register {
    max-width: 1280px;
    margin: 26px auto 38px;
    padding: 0 20px;
}

.delivery-register-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
}

.register-brand,
.register-panel {
    border-radius: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.register-brand {
    padding: 48px 40px;
    color: #fff8f3;
    background: linear-gradient(165deg, rgba(244, 122, 96, 0.88), rgba(255, 171, 125, 0.82));
    border: 1px solid rgba(255, 246, 234, 0.48);
    box-shadow: 0 22px 55px rgba(151, 73, 52, 0.28);
}

.register-brand h1 {
    margin: 24px 0 14px;
    line-height: 1.28;
    font-size: 42px;
}

.register-brand p {
    margin: 0;
    color: #fff1e6;
    line-height: 1.8;
    font-size: 16px;
}

.register-scenarios {
    margin-top: 30px;
    display: grid;
    gap: 14px;
}

.scenario-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 243, 234, 0.48);
}

.scenario-item i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.26);
    color: #fff8ce;
}

.scenario-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.scenario-item span {
    color: #ffece1;
    font-size: 13px;
}

.register-panel {
    padding: 34px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 45px rgba(133, 64, 44, 0.2);
}

.register-panel-head h2 {
    margin: 0;
    font-size: 32px;
    color: var(--warm-title);
}

.register-panel-head p {
    margin: 10px 0 0;
    color: var(--warm-text);
    font-size: 15px;
}

.register-stepbar {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.register-stepbar span {
    text-align: center;
    padding: 10px 8px;
    border-radius: 999px;
    font-size: 13px;
    color: #946960;
    background: #fff4ee;
    border: 1px solid #f7ddd2;
}

.register-stepbar span.active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(120deg, var(--warm-brand-1) 0%, var(--warm-brand-2) 100%);
}

.register-cards {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.register-card {
    display: block;
    text-decoration: none;
    border: 1px solid #f1d7cc;
    border-radius: 18px;
    padding: 18px 16px;
    background: #fffaf7;
    color: #684035;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.register-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(234, 127, 92, 0.2);
    border-color: #efbaaa;
}

.register-card.active {
    border-color: #efb4a2;
    box-shadow: 0 10px 24px rgba(234, 127, 92, 0.18);
}

.register-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.register-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(120deg, var(--warm-brand-1) 0%, var(--warm-brand-2) 100%);
}

.register-tag {
    font-size: 12px;
    color: #f26a4e;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ffeae2;
}

.register-card h3 {
    margin: 14px 0 8px;
    font-size: 22px;
    color: #5a2e24;
}

.register-card p {
    margin: 0;
    color: #8a655b;
    font-size: 14px;
    line-height: 1.7;
}

.register-card ul {
    margin: 14px 0;
    padding: 0;
    list-style: none;
}

.register-card li {
    font-size: 13px;
    color: #7d594f;
    padding: 4px 0;
}

.register-card li i {
    color: #f47053;
    margin-right: 6px;
}

.register-btn {
    margin-top: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    border-radius: 12px;
    height: 44px;
    line-height: 44px;
    background: linear-gradient(120deg, var(--warm-brand-1) 0%, var(--warm-brand-2) 48%, var(--warm-brand-3) 100%);
}

.register-card.org .register-icon {
    background: linear-gradient(120deg, #f4684b 0%, #ff8f67 100%);
}

.register-card.org .register-tag {
    color: #de5d43;
    background: #ffe4da;
}

.register-login-tip {
    margin-top: 18px;
    text-align: center;
    color: #8f6b62;
    font-size: 15px;
}

.godl {
    color: var(--warm-accent-deep);
    text-decoration: none;
    font-weight: 700;
}

.godl:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .delivery-register-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .delivery-register {
        padding: 0 12px;
        margin-top: 18px;
    }

    .register-brand,
    .register-panel {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .register-brand h1 {
        font-size: 32px;
    }

    .register-cards {
        grid-template-columns: 1fr;
    }

    .register-stepbar {
        grid-template-columns: 1fr;
    }
}

.delivery-person-register {
    max-width: 1280px;
    margin: 26px auto 38px;
    padding: 0 20px;
}

.delivery-person-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.person-brand,
.person-register-panel {
    border-radius: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.person-brand {
    padding: 44px 36px;
    color: #fff7f2;
    background: linear-gradient(165deg, rgba(242, 115, 87, 0.9), rgba(255, 173, 124, 0.84));
    border: 1px solid rgba(255, 246, 234, 0.48);
    box-shadow: 0 22px 55px rgba(151, 73, 52, 0.28);
}

.person-brand h1 {
    margin: 22px 0 14px;
    line-height: 1.28;
    font-size: 40px;
}

.person-brand p {
    margin: 0;
    color: #fff0e6;
    line-height: 1.8;
    font-size: 16px;
}

.person-brand-list {
    margin-top: 26px;
    display: grid;
    gap: 12px;
}

.person-brand-item {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 246, 234, 0.45);
    font-size: 14px;
}

.person-brand-item i {
    color: #fff1b8;
    margin-right: 8px;
}

.person-register-panel {
    padding: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 45px rgba(133, 64, 44, 0.2);
}

.person-panel-head h2 {
    margin: 0;
    font-size: 32px;
    color: var(--warm-title);
}

.person-panel-head p {
    margin: 10px 0 0;
    color: var(--warm-text);
    font-size: 15px;
}

.person-stepbar {
    margin-top: 20px;
}

.person-switch-type {
    margin-top: 14px;
    margin-bottom: 16px;
}

.person-switch-type a {
    display: inline-block;
    color: var(--warm-accent-deep);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.person-switch-type a:hover {
    text-decoration: underline;
}

.person-form {
    margin: 0;
    width: 100%;
}

.person-form .tdright {
    width: 150px;
    color: #754d43;
    text-align: right;
    padding-right: 14px;
    font-size: 14px;
    vertical-align: top;
    line-height: 52px !important;
}

.person-form td {
    padding: 8px 0;
    vertical-align: top;
    word-break: break-word;
}

.person-form .input {
    width: 100%;
    max-width: 420px;
}

.person-code-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.person-protocol-cell a {
    color: var(--warm-accent-deep);
    text-decoration: none;
    margin-right: 10px;
    font-size: 14px;
    display: inline-block;
    margin-top: 4px;
}

.person-protocol-cell a:hover {
    text-decoration: underline;
}

.person-xiyi {
    width: auto;
    margin-top: 20px;
    border: 1px solid #f0d2c8;
    border-radius: 14px;
    background: #fff8f4;
    padding: 12px;
    overflow: hidden;
}

.person-xiyi #xieyi {
    width: 100%;
    height: 180px;
    max-height: 32vh;
    overflow-y: auto;
    overflow-x: hidden;
    color: #90695f;
    box-sizing: border-box;
    padding-right: 6px;
}

.person-xiyi .xieye_nr {
    max-width: 100%;
}

.person-xiyi .xieye_nr p {
    margin: 0 0 10px;
    word-break: break-word;
    line-height: 1.75;
}

.person-register-panel {
    overflow: hidden;
}

.go_reg {
    border: none;
    width: 100%;
    max-width: 280px;
    height: 48px;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(120deg, var(--warm-brand-1) 0%, var(--warm-brand-2) 48%, var(--warm-brand-3) 100%);
    box-shadow: 0 12px 28px rgba(236, 111, 83, 0.34);
}

.go_reg:hover {
    box-shadow: 0 16px 32px rgba(220, 95, 68, 0.4);
}

#popDiv,
#popDiv2 {
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(120, 56, 38, 0.28);
    border: 1px solid #f4d2c4;
}

#popDiv .close,
#popDiv2 .close {
    padding: 10px 14px;
    background: #fff4ee;
}

#popDiv .close a,
#popDiv2 .close a {
    color: #de5e43;
    font-weight: 700;
}

.btn {
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(120deg, var(--warm-brand-1) 0%, var(--warm-brand-2) 100%) !important;
}

@media (max-width: 1100px) {
    .delivery-person-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .delivery-person-register {
        margin-top: 18px;
        padding: 0 12px;
    }

    .person-brand,
    .person-register-panel {
        padding: 24px 16px;
        border-radius: 22px;
    }

    .person-brand h1 {
        font-size: 30px;
    }

    .person-form .tdright {
        width: 100%;
        display: block;
        text-align: left;
        line-height: 24px !important;
        padding-right: 0;
    }

    .person-form td {
        display: block;
        width: 100%;
    }

    .person-form .input,
    .go_reg {
        max-width: 100%;
    }

    .person-code-cell {
        flex-wrap: wrap;
    }

    .person-xiyi #xieyi {
        height: 140px;
        max-height: 38vh;
    }
}

.delivery-store-register {
    max-width: 1280px;
    margin: 26px auto 38px;
    padding: 0 20px;
}

.delivery-store-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.store-brand,
.store-register-panel {
    border-radius: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.store-brand {
    padding: 44px 36px;
    color: #fff7f2;
    background: linear-gradient(165deg, rgba(236, 104, 76, 0.9), rgba(252, 151, 106, 0.84));
    border: 1px solid rgba(255, 246, 234, 0.48);
    box-shadow: 0 22px 55px rgba(151, 73, 52, 0.28);
}

.store-brand h1 {
    margin: 22px 0 14px;
    line-height: 1.28;
    font-size: 40px;
}

.store-brand p {
    margin: 0;
    color: #fff0e6;
    line-height: 1.8;
    font-size: 16px;
}

.store-brand-list {
    margin-top: 26px;
    display: grid;
    gap: 12px;
}

.store-brand-item {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 246, 234, 0.45);
    font-size: 14px;
}

.store-brand-item i {
    color: #fff1b8;
    margin-right: 8px;
}

.store-register-panel {
    padding: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 45px rgba(133, 64, 44, 0.2);
    overflow: hidden;
}

.store-panel-head h2 {
    margin: 0;
    font-size: 32px;
    color: var(--warm-title);
}

.store-panel-head p {
    margin: 10px 0 0;
    color: var(--warm-text);
    font-size: 15px;
}

.store-stepbar {
    margin-top: 20px;
}

.store-switch-type {
    margin-top: 14px;
    margin-bottom: 16px;
}

.store-switch-type a {
    display: inline-block;
    color: var(--warm-accent-deep);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.store-switch-type a:hover {
    text-decoration: underline;
}

.store-form {
    margin: 0;
    width: 100%;
}

.store-form td {
    padding: 8px 0;
    vertical-align: top;
    word-break: break-word;
}

.store-form .tdright {
    width: 150px;
    color: #754d43;
    text-align: right;
    padding-right: 14px;
    font-size: 14px;
    line-height: 52px !important;
}

.store-form .input {
    width: 100%;
    max-width: 420px;
}

.store-form textarea.input {
    min-height: 180px;
    height: 180px !important;
    padding: 12px 14px;
}

.store-block-title {
    padding: 10px 0 8px !important;
    font-size: 16px;
    font-weight: 700;
    color: #5f342a;
    border-bottom: 1px dashed #f0d4c9;
}

.store-code-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.store-form .disabled {
    border-color: #f0d2c8;
    background-color: #fff5f0;
    color: #8d6458;
}

.store-form .disabled:hover {
    background-color: #ffe8de;
}

.store-xiyi {
    width: auto;
    margin-top: 20px;
    border: 1px solid #f0d2c8;
    border-radius: 14px;
    background: #fff8f4;
    padding: 12px;
    overflow: hidden;
}

.store-xiyi #xieyi {
    width: 100%;
    height: 180px;
    max-height: 32vh;
    overflow-y: auto;
    overflow-x: hidden;
    color: #90695f;
    box-sizing: border-box;
    padding-right: 6px;
}

.store-xiyi .xieye_nr p {
    margin: 0 0 10px;
    word-break: break-word;
    line-height: 1.75;
}

@media (max-width: 1100px) {
    .delivery-store-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .delivery-store-register {
        margin-top: 18px;
        padding: 0 12px;
    }

    .store-brand,
    .store-register-panel {
        padding: 24px 16px;
        border-radius: 22px;
    }

    .store-brand h1 {
        font-size: 30px;
    }

    .store-form .tdright {
        width: 100%;
        display: block;
        text-align: left;
        line-height: 24px !important;
        padding-right: 0;
    }

    .store-form td {
        display: block;
        width: 100%;
    }

    .store-form .input,
    .go_reg {
        max-width: 100%;
    }

    .store-xiyi #xieyi {
        height: 140px;
        max-height: 38vh;
    }
}