body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
}

.container {
    display: flex;
    justify-content: center;
}

.content {
    width: 100%;
    max-width: 700px;
}

.noridheader {
    width: 100%;
    max-width: 1100px;
}

.box {
    border: 1px solid #000;
    padding: 5px;
}

input, select {
    width: 100%;
    font-size: 16px;
    border: 1px solid #aaa;
    background-color: #fff;
    border-radius: 5px;
    height: 40px;
    padding: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
    box-sizing: border-box;
}

.form-element {
    margin-bottom: 10px;
}

.form-cc {
    width: 50%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 0;
    margin-left: 0;
}

.form-phone {
    width: 50%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    float: right;
    margin-right: 0;
}

.demo-page {
    padding-bottom: 30px;
}

.demo-form {
    margin-top: 20px;
}

.notice-card,
.loading-card,
.result-card {
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    border: 1px solid #d0d7de;
    background: #f8fafc;
}

.warning-card {
    border-color: #f2c46f;
    background: #fff7e1;
}

.success-card {
    border-color: #7cc58c;
    background: #eefbf1;
}

.error-card {
    border-color: #d66c6c;
    background: #fff1f1;
}

.server-loading-card {
    border-color: #4f8fd8;
    background: #eef5ff;
}

.loading-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.loading-spinner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid #d4e4fb;
    border-top-color: #1d5fbf;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.result-span {
    grid-column: 1 / -1;
}

.result-json {
    margin: 0;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 14px;
    line-height: 1.45;
    background: #eef2f7;
    border-radius: 10px;
    padding: 14px;
}

input.is-loading,
input:disabled {
    background: #e9eef5;
    color: #4d5968;
    cursor: wait;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
