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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-color: #f5f6fa;
    background-image: radial-gradient(circle, #d0d0d0 1px, transparent 1px);
    background-size: 24px 24px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #2d3436;
}

.card {
    background: #fff;
    max-width: 480px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 40px 32px;
    text-align: center;
}

h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

p {
    font-size: 15px;
    line-height: 1.5;
    color: #636e72;
    margin-bottom: 24px;
}

.sender {
    font-weight: 600;
    color: #2d3436;
}

.btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
}

button {
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

button:hover {
    opacity: 0.85;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: #1a1a1a;
    color: #fff;
}

.btn-secondary {
    background: #dfe6e9;
    color: #2d3436;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
}

.brand img {
    height: 36px;
    max-width: 200px;
    object-fit: contain;
}

.brand.placeholder {
    height: 36px;
}

.brand span {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.success { color: #00b894; }
.error-color { color: #d63031; }

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(26, 26, 26, 0.2);
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.details {
    text-align: left;
    background: #f5f6fa;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.details dt {
    font-weight: 600;
    color: #2d3436;
}

.details dd {
    color: #636e72;
    margin-bottom: 6px;
}
