/* GDOU 应用网关 — 确认页样式（海洋蓝主题） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 100%;
}
.header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
}
.header-icon { margin-bottom: 8px; line-height: 0; }
.header-icon svg { width: 32px; height: 32px; display: inline-block; opacity: 0.95; }
.header h1 { font-size: 20px; font-weight: 600; }
.content { padding: 30px; }
.notice {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    font-size: 15px;
    color: #1e40af;
    text-align: center;
    line-height: 1.6;
}
.notice strong { display: block; font-size: 16px; margin-bottom: 8px; }
.notice.notice-denied { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.ip-line { font-size: 12px; color: #64748b; margin-top: 8px; display: inline-block; }
.ip-ok { color: #059669; }
.ip-hint { font-size: 11px; color: #94a3b8; margin-top: 4px; display: inline-block; }
.btn-group { display: flex; gap: 15px; margin-bottom: 16px; }
.btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4); }
.btn-secondary {
    background: #fff;
    color: #2563eb;
    border: 2px solid #bfdbfe;
}
.btn-secondary:hover { background: #eff6ff; border-color: #93c5fd; }
.btn-flex { flex: 1.5; }
.force-wrap { display: none; text-align: center; margin-top: 14px; }
.force-wrap.is-on { display: block; }
.link-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    color: #64748b;
    font-family: inherit;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}
.link-btn:hover:not(:disabled) { color: #2563eb; }
.link-btn:disabled { opacity: 0.6; cursor: default; }
.direct-wrap { text-align: center; margin-top: 18px; }
.direct-link {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}
.direct-link:hover:not(:disabled) { background: #3b82f6; color: #fff; }
.direct-link:disabled { opacity: 0.6; cursor: default; }
.diag-status { display: none; text-align: center; margin-top: 15px; }
.diag-message {
    padding: 15px;
    background: #eff6ff;
    border-radius: 8px;
    color: #1e40af;
    font-size: 14px;
    line-height: 1.6;
}
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #bfdbfe;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.footer {
    text-align: center;
    padding: 20px 30px;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 12px;
}
.footer a { color: #6c757d; text-decoration: none; }
.footer a:hover { color: #2563eb; text-decoration: underline; }
@media (max-width: 480px) {
    .btn-group { flex-direction: column; }
}
@media (min-width: 768px) {
    body { align-items: flex-start; padding: 40px 20px; }
    .container { max-width: 680px; margin: 0 auto; }
    .header { padding: 50px 40px; }
    .header h1 { font-size: 26px; }
    .header-icon svg { width: 40px; height: 40px; }
    .content { padding: 50px 40px; }
    .notice { padding: 30px; }
    .notice strong { font-size: 20px; }
    .btn { padding: 18px 30px; font-size: 18px; }
}
