/*
 * Omom Membership — Brand Styles
 * All classes prefixed .omom- to avoid conflicts with Divi or any other plugin.
 *
 * Palette:
 *   #000000  — page background
 *   #111111  — card / form surface
 *   #ed3c33  — accent, CTA buttons, highlights
 *   #ffffff  — primary text
 *   #cccccc  — secondary / muted text
 *   #333333  — locked card background
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================
   Full-page background
   Targets Divi's wrapper elements so the entire viewport
   is black, not just the content container.
   ========================================================== */

body.omom-membership-page,
body.omom-membership-page #page-container,
body.omom-membership-page #et-main-area,
body.omom-membership-page .et-l,
body.omom-membership-page #main-content {
    background-color: #000000 !important;
}

/* ==========================================================
   Base
   ========================================================== */

.omom-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    box-sizing: border-box;
}

/* ==========================================================
   Alerts
   ========================================================== */

.omom-alert {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.omom-alert-error {
    background: rgba(237, 60, 51, 0.1);
    border: 1px solid #ed3c33;
    color: #ed3c33;
}

/* ==========================================================
   Buttons
   ========================================================== */

.omom-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    line-height: 1;
    box-sizing: border-box;
}

/* Primary — red fill, all CTAs use this */
.omom-btn-primary {
    background: #ed3c33;
    color: #ffffff !important;
    width: 100%;
}

.omom-btn-primary:hover {
    background: #c8342c;
    color: #ffffff !important;
}

/* Outline — ghost button with red border */
.omom-btn-outline {
    background: transparent;
    color: #ed3c33 !important;
    border: 1px solid #ed3c33;
    width: auto;
}

.omom-btn-outline:hover {
    background: #ed3c33;
    color: #ffffff !important;
}

/* Modifier: removes full-width stretch */
.omom-btn-auto {
    width: auto;
    padding: 14px 36px;
}

/* ==========================================================
   Login Page
   ========================================================== */

.omom-login-page {
    max-width: 440px;
    padding-top: 80px;
}

.omom-login-card {
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 48px 40px;
}

@media (max-width: 480px) {
    .omom-login-card {
        padding: 36px 24px;
    }
}

.omom-logo-area {
    text-align: center;
    margin-bottom: 32px;
}

.omom-logo-area img {
    max-height: 64px;
    width: auto;
}

.omom-site-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.omom-login-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 28px;
    color: #ffffff;
    letter-spacing: 0.02em;
}

/* ── Form ── */

.omom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.omom-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.omom-field label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #cccccc;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.omom-field input[type="text"],
.omom-field input[type="password"],
.omom-field input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    background: #0d0d0d;
    box-sizing: border-box;
    transition: border-color 0.15s;
    outline: none;
    -webkit-appearance: none;
}

.omom-field input[type="text"]::placeholder,
.omom-field input[type="password"]::placeholder,
.omom-field input[type="email"]::placeholder {
    color: #444444;
}

.omom-field input[type="text"]:focus,
.omom-field input[type="password"]:focus,
.omom-field input[type="email"]:focus {
    border-color: #ed3c33;
}

/* Prevent Chrome autofill from overriding background */
.omom-field input:-webkit-autofill,
.omom-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 100px #0d0d0d inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
}

.omom-field-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}

.omom-checkbox-label {
    font-size: 0.85rem;
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
}

.omom-forgot-link {
    font-size: 0.82rem;
    color: #555555;
    text-decoration: none;
    transition: color 0.15s;
}

.omom-forgot-link:hover {
    color: #ed3c33;
}

/* ==========================================================
   Dashboard
   ========================================================== */

.omom-dashboard-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid #1a1a1a;
}

.omom-dashboard-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff;
}

.omom-dashboard-header p {
    color: #cccccc;
    margin: 0;
    font-size: 0.95rem;
}

.omom-course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 56px;
}

@media (max-width: 600px) {
    .omom-course-grid {
        grid-template-columns: 1fr;
    }
}

.omom-course-card {
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

/* Unlocked — red border highlight */
.omom-course-card.omom-unlocked {
    background: #111111;
    border: 1px solid #ed3c33;
}

.omom-course-card.omom-unlocked:hover {
    box-shadow: 0 0 24px rgba(237, 60, 51, 0.18);
}

/* Locked — dark grey, red left-border indicator on badge */
.omom-course-card.omom-locked {
    background: #0d0d0d;
    border: 1px solid #333333;
}

.omom-card-badge {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 16px;
}

.omom-unlocked .omom-card-badge {
    background: #ed3c33;
    color: #ffffff;
}

/* Red left border acts as the lock indicator */
.omom-locked .omom-card-badge {
    background: #1a1a1a;
    color: #444444;
    border-left: 3px solid #ed3c33;
}

.omom-card-body {
    padding: 24px;
}

.omom-card-body h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px;
}

.omom-unlocked .omom-card-body h2 {
    color: #ffffff;
}

.omom-locked .omom-card-body h2 {
    color: #3a3a3a;
}

.omom-card-subtitle {
    font-size: 0.8rem;
    font-style: italic;
    margin: 0 0 12px;
}

.omom-unlocked .omom-card-subtitle {
    color: #666666;
}

.omom-locked .omom-card-subtitle {
    color: #333333;
}

.omom-card-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0 0 20px;
}

.omom-unlocked .omom-card-desc {
    color: #cccccc;
}

.omom-locked .omom-card-desc {
    color: #333333;
}

.omom-locked-msg {
    font-size: 0.82rem;
    color: #444444;
    line-height: 1.55;
    margin: 0 0 14px;
}

.omom-dashboard-footer {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid #1a1a1a;
}

.omom-link-muted {
    font-size: 0.82rem;
    color: #333333;
    text-decoration: none;
    transition: color 0.15s;
}

.omom-link-muted:hover {
    color: #cccccc;
}

/* ==========================================================
   Content Pages (Part 1 and 2 / Part 3)
   ========================================================== */

.omom-content-header {
    margin-bottom: 48px;
    padding-bottom: 28px;
    border-bottom: 1px solid #1a1a1a;
}

.omom-back-link {
    display: inline-block;
    font-size: 0.8rem;
    color: #444444;
    text-decoration: none;
    margin-bottom: 18px;
    transition: color 0.15s;
    letter-spacing: 0.03em;
}

.omom-back-link::before {
    content: '\2190\00a0'; /* left arrow + space */
}

.omom-back-link:hover {
    color: #ed3c33;
}

.omom-content-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff;
}

.omom-content-header p {
    color: #cccccc;
    margin: 0;
    font-size: 0.95rem;
}

.omom-video-list {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.omom-video-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* 16:9 responsive wrapper */
.omom-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #0a0a0a;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

.omom-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.omom-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    text-align: center;
    padding: 24px;
    gap: 4px;
}

.omom-placeholder-icon {
    font-size: 2rem;
    color: #ed3c33;
    opacity: 0.4;
    margin-bottom: 12px;
}

.omom-video-placeholder p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.04em;
}

.omom-video-placeholder span {
    font-size: 0.78rem;
    color: #444444;
}

.omom-content-footer {
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid #1a1a1a;
}

/* ==========================================================
   Thank You / Welcome Page
   ========================================================== */

.omom-thankyou-page {
    max-width: 520px;
    padding-top: 80px;
}

.omom-thankyou-card {
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 56px 48px;
    text-align: center;
}

@media (max-width: 480px) {
    .omom-thankyou-card {
        padding: 40px 24px;
    }
}

/* Red checkmark circle */
.omom-thankyou-icon {
    width: 56px;
    height: 56px;
    background: #ed3c33;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.omom-thankyou-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 14px;
    color: #ffffff;
}

.omom-thankyou-lead {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px;
}

.omom-thankyou-card p {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.7;
    margin: 0 0 28px;
}

.omom-thankyou-actions {
    margin-bottom: 24px;
}

.omom-thankyou-note {
    font-size: 0.8rem;
    color: #444444;
    margin: 0;
}

.omom-thankyou-note a {
    color: #666666;
    text-decoration: underline;
}

.omom-thankyou-note a:hover {
    color: #ed3c33;
}

/* ==========================================================
   Social icons — hidden everywhere (Divi)
   ========================================================== */

.et-social-icons,
.et_pb_social_media_follow,
.et_pb_social_media_follow_network {
    display: none !important;
}

/* ==========================================================
   Language Selector Toggle
   ========================================================== */

.omom-lang-selector {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #1a1a1a;
}

.omom-lang-label {
    font-size: 0.875rem;
    color: #cccccc;
    margin: 0 0 12px;
}

.omom-lang-toggle {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.omom-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    background: transparent;
    color: #ed3c33;
    border: 1px solid #ed3c33;
    line-height: 1;
}

.omom-lang-btn:hover {
    background: rgba(237, 60, 51, 0.1);
}

.omom-lang-btn.omom-lang-btn-active {
    background: #ed3c33;
    color: #ffffff;
    border-color: #ed3c33;
}

.omom-lang-btn.omom-lang-btn-active:hover {
    background: #c8342c;
    border-color: #c8342c;
}

/* Fills the .omom-video-embed 16:9 aspect-ratio container */
.omom-video-wrapper {
    position: absolute;
    inset: 0;
}

/* ==========================================================
   Video Block — Title, Description, Separator
   ========================================================== */

.omom-video-title {
    font-size: 1.125rem; /* 18px */
    margin: 0;
}

.omom-video-desc {
    font-size: 0.875rem; /* 14px */
    color: #cccccc;
    margin: 6px 0 18px;
    line-height: 1.65;
}

.omom-video-block {
    padding-bottom: 32px;
    border-bottom: 1px solid #333333;
}

.omom-video-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
