/* ============================================================
   OWL CAPTURE PAGES — CAPTURE & BRIDGE PAGE STYLES
   ============================================================ */

/* Full-page capture/bridge layout */
body.owl-cp-body {
    margin: 0;
    padding: 0;
    background: var(--cp-bg, #111111) !important;
    color: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

body.owl-cp-body .site-header,
body.owl-cp-body #masthead,
body.owl-cp-body .site-footer,
body.owl-cp-body #colophon,
body.owl-cp-body .main-navigation,
body.owl-cp-body .nav-primary,
body.owl-cp-body .sidebar,
body.owl-cp-body #secondary {
    display: none !important;
}

body.owl-cp-body .site-content,
body.owl-cp-body #content,
body.owl-cp-body .content-area,
body.owl-cp-body #primary,
body.owl-cp-body .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

body.owl-cp-body .inside-article,
body.owl-cp-body article,
body.owl-cp-body .entry-content {
    padding: 0 !important;
    margin: 0 !important;
}

.owl-cp-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    text-align: center;
}

/* Presenter block */
.owl-cp-presenter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}

.owl-cp-presenter-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--cp-accent, #00AA44);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0,170,68,0.3);
    flex-shrink: 0;
}

.owl-cp-presenter-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.owl-cp-presenter-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}

.owl-cp-presenter-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cp-primary, #ffffff);
}

.owl-cp-presenter-sub {
    font-size: 0.85rem;
    color: var(--cp-presenter-sub, #00AA44);
}

/* Content area */
.owl-cp-content {
    margin-bottom: 40px;
}

.owl-cp-headline {
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: var(--cp-headline, #ffffff) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
}

.owl-cp-subheadline {
    font-size: 1.1rem;
    color: var(--cp-subheadline, #bbb);
    margin-bottom: 20px;
    line-height: 1.6;
}

.owl-cp-body-copy {
    font-size: 0.95rem;
    color: var(--cp-body-text, #999);
    line-height: 1.8;
    text-align: left;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 10px;
}

/* Opt-in form */
.owl-cp-form-wrap {
    display: flex;
    justify-content: center;
}

.owl-cp-form-box {
    background: var(--cp-form-bg, #1a1a1a);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 3px solid var(--cp-accent, #00AA44);
    border-radius: 12px;
    padding: 36px 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.owl-cp-form-title {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    text-align: center;
}

.owl-cp-field {
    margin-bottom: 14px;
}

.owl-cp-field input {
    width: 100%;
    padding: 14px 16px;
    background: var(--cp-input-bg, #0d0d0d);
    border: 1px solid var(--cp-input-border, #333);
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.owl-cp-field input:focus {
    outline: none;
    border-color: var(--cp-accent, #00AA44);
}

.owl-cp-field input::placeholder {
    color: #666;
}

.owl-cp-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--cp-accent, #00AA44);
    color: #000000;
    font-size: 1.05rem;
    font-weight: 800;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.owl-cp-submit-btn:hover {
    background: var(--cp-accent-dark, #007733);
    color: #fff;
    transform: translateY(-1px);
}

.owl-cp-privacy {
    color: #555;
    font-size: 0.8rem;
    margin-top: 14px;
    text-align: center;
}

.owl-cp-error {
    background: #3d1111;
    border: 1px solid #aa0000;
    color: #ff6666;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Bridge page CTA */
.owl-cp-bridge-cta {
    margin-top: 40px;
    text-align: center;
}

.owl-cp-bridge-btn {
    display: inline-block;
    background: var(--cp-accent, #00AA44);
    color: #000000 !important;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 20px 48px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(0,170,68,0.3);
}

.owl-cp-bridge-btn:hover {
    background: var(--cp-accent-dark, #007733);
    transform: translateY(-2px);
    color: #000 !important;
}

.owl-cp-bridge-note {
    color: #666;
    font-size: 0.85rem;
    margin-top: 14px;
}

/* Mobile */
@media (max-width: 600px) {
    .owl-cp-page { padding: 40px 16px 60px; }
    .owl-cp-headline { font-size: 1.5rem !important; }
    .owl-cp-form-box { padding: 24px 20px; }
    .owl-cp-presenter { flex-direction: column; text-align: center; }
    .owl-cp-presenter-info { text-align: center; }
    .owl-cp-bridge-btn { padding: 16px 28px; font-size: 1rem; }
}


/* ============================================================
   MY AFFILIATE CENTER STYLES
   ============================================================ */

.owl-ac-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* Tabs */
.owl-ac-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #222;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.owl-ac-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    color: #888 !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.owl-ac-tab:hover {
    color: #fff !important;
}

.owl-ac-tab-active {
    color: #00AA44 !important;
    border-bottom-color: #00AA44;
}

.owl-ac-badge {
    background: #00AA44;
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Panel */
.owl-ac-panel {
    animation: owl-ac-fadein 0.2s ease;
}

@keyframes owl-ac-fadein {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Sections */
.owl-ac-section {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 20px;
}

.owl-ac-section-title {
    color: #00AA44 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.owl-ac-leads-count {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.owl-ac-section-desc {
    color: #777;
    font-size: 0.88rem;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Link row */
.owl-ac-link-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.owl-ac-link-input {
    flex: 1;
    padding: 10px 12px;
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 4px;
    color: #00AA44;
    font-size: 0.85rem;
    cursor: pointer;
    min-width: 0;
}

.owl-ac-copy-btn {
    padding: 10px 18px;
    background: #00AA44;
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.owl-ac-copy-btn:hover {
    background: #007733;
    color: #fff;
}

.owl-ac-copy-btn.copied {
    background: #0d2d1a;
    color: #00AA44;
    border: 1px solid #00AA44;
}

/* Pages grid */
.owl-ac-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.owl-ac-page-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 18px 20px;
}

.owl-ac-page-card.owl-ac-page-locked {
    opacity: 0.6;
}

.owl-ac-page-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.owl-ac-page-type-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #0d2d1a;
    color: #00AA44;
    padding: 3px 8px;
    border-radius: 3px;
}

.owl-ac-badge-bridge {
    background: #1a1a2e;
    color: #7c83ff;
}

.owl-ac-locked-badge {
    font-size: 0.7rem;
    color: #ffa000;
    background: #2a1a00;
    padding: 3px 8px;
    border-radius: 3px;
}

.owl-ac-page-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.owl-ac-page-actions {
    margin-top: 8px;
}

.owl-ac-preview-link {
    color: #666;
    font-size: 0.8rem;
    text-decoration: none;
}

.owl-ac-preview-link:hover {
    color: #00AA44;
}

.owl-ac-upgrade-note {
    color: #ffa000;
    font-size: 0.82rem;
    margin: 8px 0 0;
}

/* Leads table */
.owl-ac-leads-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.owl-ac-csv-btn {
    padding: 8px 18px;
    background: transparent;
    border: 1px solid #00AA44;
    color: #00AA44;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.owl-ac-csv-btn:hover {
    background: #00AA44;
    color: #000;
}

.owl-ac-table-wrap {
    overflow-x: auto;
}

.owl-ac-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.owl-ac-table th {
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 12px;
    border-bottom: 1px solid #2a2a2a;
    text-align: left;
}

.owl-ac-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #1a1a1a;
    color: #ccc;
}

.owl-ac-table tr:last-child td {
    border-bottom: none;
}

.owl-ac-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.owl-ac-table-note {
    color: #555;
    font-size: 0.8rem;
    margin-top: 12px;
    text-align: center;
}

.owl-ac-empty {
    text-align: center;
    padding: 40px 20px;
    color: #555;
    font-size: 0.9rem;
}

/* Settings / Photo */
.owl-ac-photo-preview {
    margin-bottom: 20px;
}

.owl-ac-photo-thumb {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #00AA44;
    object-fit: cover;
    display: block;
    margin-bottom: 8px;
}

.owl-ac-photo-note {
    color: #888;
    font-size: 0.85rem;
}

.owl-ac-photo-form .owl-ac-field-row {
    margin-bottom: 14px;
}

.owl-ac-photo-form label {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.owl-ac-photo-form input[type="url"] {
    width: 100%;
    max-width: 480px;
    padding: 10px 12px;
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.owl-ac-photo-form small {
    display: block;
    color: #555;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Mobile */
@media (max-width: 600px) {
    .owl-ac-tabs { gap: 0; }
    .owl-ac-tab  { padding: 8px 12px; font-size: 0.82rem; }
    .owl-ac-section { padding: 18px 16px; }
    .owl-ac-pages-grid { grid-template-columns: 1fr; }
    .owl-ac-link-row { flex-direction: column; }
    .owl-ac-copy-btn { width: 100%; }
}
