/*
 * Remotedesk Resource Hub — RemoteDesk brand (#00E05C)
 * Matches Next.js marketing site tokens.
 */

.rd-plugin-ui {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    -webkit-font-smoothing: antialiased;

    --rd-text: #000000;
    --rd-primary: #000000;
    --rd-accent: #00e05c;
    --rd-accent-hover: #00b349;
    --rd-accent-soft: #e8fcef;
    --rd-brand-gradient: linear-gradient(145deg, #00b349 0%, #00e05c 55%, #2ee87a 100%);
    --rd-brand-gradient-overlay: linear-gradient(
        135deg,
        rgba(0, 179, 73, 0.94) 0%,
        rgba(0, 224, 92, 0.88) 55%,
        rgba(0, 224, 92, 0.72) 100%
    );
    --rd-brand-glow: rgba(0, 224, 92, 0.12);
    --rd-brand-glow-soft: rgba(0, 224, 92, 0.08);
    --rd-brand-glow-medium: rgba(0, 224, 92, 0.35);
    --rd-brand-glow-strong: rgba(0, 224, 92, 0.45);
    --rd-beige: #f9f9f8;
    --rd-page-bg: #f9f9f8;
    --rd-muted: #4b5563;
    --rd-border: #e5e7eb;
    --rd-surface: #ffffff;
    --rd-bg: #f9f9f8;
    --rd-radius: 12px;
    --rd-radius-lg: 16px;
}

.rd-plugin-ui h1,
.rd-plugin-ui h2,
.rd-plugin-ui h3,
.rd-plugin-ui h4,
.rd-plugin-ui .rd-resource-card__title {
    font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
    font-weight: 600;
}

.rd-plugin-ui p,
.rd-plugin-ui li,
.rd-plugin-ui label,
.rd-plugin-ui input,
.rd-plugin-ui select,
.rd-plugin-ui button,
.rd-plugin-ui textarea {
    font-family: inherit;
    color: var(--rd-text);
}

.rd-plugin-ui a:not(.rd-btn) {
    color: var(--rd-accent-hover);
}

.rd-plugin-ui a:not(.rd-btn):hover {
    color: var(--rd-accent);
}

.rd-dot-canvas {
    position: relative;
    isolation: isolate;
}

.rd-dot-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--rd-page-bg);
    background-image: radial-gradient(circle at center, rgba(0, 224, 92, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.rd-dot-canvas > * {
    position: relative;
    z-index: 1;
}

.rd-surface-card {
    background: var(--rd-surface);
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* CTA — pill button matching Next.js .btn-primary-sm */
.rd-plugin-ui .rd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 9999px;
    background: var(--rd-accent);
    color: #fff !important;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 224, 92, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rd-plugin-ui .rd-btn:hover {
    background: var(--rd-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 224, 92, 0.3);
    color: #fff !important;
}

.rd-plugin-ui .rd-btn--full {
    width: 100%;
}

.rd-plugin-ui .rd-btn--card {
    width: auto;
    max-width: 100%;
    align-self: flex-start;
    padding: 0.5rem 1.125rem;
    font-size: 0.75rem;
}

.rd-plugin-ui .rd-btn__label {
    flex: 0 1 auto;
    text-align: center;
}

.rd-plugin-ui .rd-btn__arrow {
    display: inline-flex;
    flex-shrink: 0;
    color: #fff;
    width: 14px;
    height: 14px;
}
