* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: #f3f6f9;
    color: #263238;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        Meiryo,
        sans-serif;
}

.container {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 20px;
}

.card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e0e6eb;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(32, 55, 76, 0.08);
}

.page-header {
    padding: 30px 34px 24px;
    border-bottom: 1px solid #e6ebef;
}

.eyebrow {
    margin: 0 0 7px;
    color: #4e6b82;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: #20384b;
    font-size: 27px;
    line-height: 1.4;
}

.description {
    margin: 10px 0 0;
    color: #607484;
    font-size: 15px;
    line-height: 1.7;
}

.status-table {
    width: calc(100% - 68px);
    margin: 24px 34px;
    border-collapse: collapse;
}

.status-table th,
.status-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #e8edf0;
    text-align: left;
    vertical-align: middle;
}

.status-table th {
    width: 34%;
    color: #405566;
    background: #f8fafb;
    font-weight: 600;
}

.status-table td {
    word-break: break-word;
}

.status {
    display: inline-block;
    min-width: 64px;
    padding: 4px 12px;
    border-radius: 999px;
    text-align: center;
    font-weight: 700;
}

.status.success {
    color: #126937;
    background: #e6f6ed;
}

.status.failure {
    color: #9e1c1c;
    background: #fdeaea;
}

.error-message {
    margin: 0 34px 24px;
    padding: 14px 16px;
    color: #9e1c1c;
    background: #fff1f1;
    border: 1px solid #f2c7c7;
    border-radius: 8px;
}

.page-footer {
    padding: 17px 34px;
    color: #6a7d8b;
    background: #f8fafb;
    border-top: 1px solid #e6ebef;
    font-size: 13px;
}

@media (max-width: 640px) {
    .container {
        padding: 20px 12px;
    }

    .page-header {
        padding: 24px 20px 20px;
    }

    h1 {
        font-size: 22px;
    }

    .status-table {
        width: calc(100% - 40px);
        margin: 18px 20px;
    }

    .status-table th,
    .status-table td {
        display: block;
        width: 100%;
    }

    .status-table th {
        padding-bottom: 7px;
        border-bottom: 0;
    }

    .status-table td {
        padding-top: 7px;
    }

    .page-footer {
        padding: 15px 20px;
    }
}
