
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.page {
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
}

.panel {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    padding: 30px 20px;
    border: 1px solid #f0f0f0;
    width: 100%;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.visual {
    flex: none;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.status-label {
    font-size: 12px;
    font-weight: 600;
    color: #aaaaaa;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.code {
    font-size: 72px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin: 0;
    letter-spacing: -2px;
}

.code small {
    font-size: 28px;
    font-weight: 300;
    color: #cccccc;
}

.content {
    width: 100%;
    flex: none;
}

.content h1 {
    font-size: 26px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
    text-align: center;
}

.summary {
    font-size: 15px;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.message {
    font-size: 14px;
    color: #f30053;
    background: #f8f8f8;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    word-break: break-word;
    width: 100%;
    text-align: center;
}

.message::before {
    font-size: 18px;
    flex-shrink: 0;
}

.details {
    margin-bottom: 25px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.details h2 {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    padding: 12px 16px;
    margin: 0;
    background: #f5f5f5;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details h2::before {
    content: "ðŸ“‹";
    font-size: 15px;
}

.details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details ul li {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    gap: 4px;
}

.details ul li:last-child {
    border-bottom: none;
}

.detail-key {
    font-weight: 600;
    color: #222222;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-key::before {
    content: "â–¸";
    color: #aaaaaa;
    font-size: 11px;
}

.detail-value {
    color: #444444;
    word-break: break-all;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #eeeeee;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    width: 100%;
    margin-top: 2px;
}

.details .error-badge {
    font-size: 10px;
    color: #999;
    background: #eeeeee;
    padding: 2px 12px;
    border-radius: 20px;
    margin-left: auto;
    font-weight: 500;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.action {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action.primary {
    background: #111111;
    color: #ffffff;
}

.action.primary:hover {
    background: #333333;
}

.action:not(.primary) {
    background: transparent;
    color: #444444;
    border-color: #dddddd;
}

.action:not(.primary):hover {
    background: #f5f5f5;
    border-color: #bbbbbb;
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .panel {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .code {
        font-size: 60px;
    }

    .content h1 {
        font-size: 22px;
    }

    .summary {
        font-size: 14px;
    }

    .details ul li {
        padding: 10px 12px;
    }

    .detail-value {
        font-size: 12px;
        padding: 4px 10px;
    }
}
