* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont,
                 "Apple SD Gothic Neo", sans-serif;
    color: #202b25;
    background: #f7f8f7;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e4e8e5;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 800;
}

.logo span {
    color: #28734d;
}

nav {
    display: flex;
    gap: 28px;
    font-size: 15px;
}

main {
    min-height: 80vh;
}

.site-footer {
    padding: 35px 24px;
    text-align: center;
    font-size: 13px;
    color: #78817b;
    border-top: 1px solid #e4e8e5;
}

input,
button {
    font: inherit;
}
/* Header mailbox */

.header-mailbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-message-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: #dc3545;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    box-sizing: border-box;
}

/* Login message alert */

.message-alert {
    width: 420px;
    max-width: calc(100% - 32px);
    padding: 32px 25px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #333;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 12px 50px rgba(0, 0, 0, .15);
}

.message-alert::backdrop {
    background: rgba(0, 0, 0, .45);
}

.message-alert-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf6ef;
    color: #28734d;
    font-size: 32px;
    border-radius: 50%;
}

.message-alert h2 {
    font-size: 21px;
    margin: 0 0 18px;
}

.message-alert p {
    font-size: 15px;
    line-height: 1.7;
}

.message-alert p strong {
    color: #28734d;
}

.message-alert-description {
    color: #888;
    font-size: 13px !important;
}

.message-alert-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.message-alert-actions button {
    flex: 1;
    padding: 13px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.message-alert-later {
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
}

.message-alert-confirm {
    border: 1px solid #28734d;
    background: #28734d;
    color: #fff;
}

.message-alert-confirm:hover {
    background: #205e3e;
}


/* Transaction safety notice */

.transaction-notice {
    padding: 14px 18px;
    margin: 18px 0;
    border: 1px solid #e5d7b9;
    border-left: 3px solid #c49a48;
    border-radius: 5px;
    background: #fffcf5;
    color: #78613b;
    font-size: 13px;
    line-height: 1.7;
}

.transaction-notice strong {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #8a682d;
}

.transaction-notice p {
    margin: 0;
}

.transaction-notice-compact {
    margin: 12px 0;
    color: #888;
    font-size: 12px;
    line-height: 1.7;
}


/* Footer transaction notice */

.site-footer .transaction-notice-compact {
    max-width: 1000px;
    margin: 8px auto 0;
    padding: 0 15px;
    font-size: 11px;
    line-height: 1.7;
    color: inherit;
    opacity: 0.85;
    text-align: center;
}


/* LANDLAND Brand */
.landland-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.landland-brand img {
    width: 44px;
    height: 44px;
    display: block;
}

.landland-brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.1;
}

.landland-brand-text strong {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.7px;
    color: #166534;
}

.landland-brand-text small {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}


/* LANDLAND Header Layout */

.site-header .header-inner {
    max-width: 1600px;
    gap: 28px;
}

.site-header .landland-brand {
    flex-shrink: 0;
}

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 15px;
}

.site-header nav > * {
    flex-shrink: 0;
    white-space: nowrap;
}

.site-header nav form {
    margin: 0;
}

.site-header nav button {
    white-space: nowrap;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .site-header .header-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .site-header nav {
        justify-content: flex-start;
        gap: 12px 16px;
    }
}

@media (max-width: 768px) {
    .site-header .header-inner {
        padding: 16px;
    }

    .site-header nav {
        width: 100%;
        font-size: 14px;
        gap: 12px 16px;
    }
}
