* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f0f0f1;
    color: #1d2327;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.oauth-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
    max-width: 440px;
    width: 100%;
    padding: 32px;
}

.oauth-header {
    text-align: center;
    margin-bottom: 24px;
}

.oauth-header h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.oauth-header .site-name {
    color: #646970;
    font-size: 14px;
}

.oauth-client {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
}

.oauth-client h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.oauth-client .client-detail {
    font-size: 13px;
    color: #646970;
    margin-bottom: 4px;
}

.oauth-perms {
    margin-bottom: 20px;
}

.oauth-perms h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.oauth-perms ul {
    list-style: none;
    padding: 0;
}

.oauth-perms li {
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f1;
}

.oauth-perms li::before {
    content: "✓";
    color: #00a32a;
    margin-right: 8px;
    font-weight: 700;
}

.oauth-user {
    font-size: 13px;
    color: #646970;
    margin-bottom: 20px;
}

.oauth-actions {
    display: flex;
    gap: 12px;
}

.oauth-actions button {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-approve {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.btn-approve:hover {
    background: #135e96;
}

.btn-deny {
    background: #fff;
    color: #cc1818;
    border-color: #cc1818;
}

.btn-deny:hover {
    background: #fcecec;
}

.oauth-error .oauth-card {
    text-align: center;
}

.oauth-error .oauth-card h1 {
    font-size: 20px;
    font-weight: 600;
    color: #cc1818;
    margin-bottom: 16px;
}

.oauth-error .oauth-card p {
    font-size: 14px;
    color: #646970;
    line-height: 1.6;
}
