/* === Custom Contest Plugin Frontend Styles v2.0 (Ad/Question Flow) === */

/* Modern, clean, and professional contest form styles */
body .ccp-contest-form {
  font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0001;
  padding: 32px 24px;
  max-width: 540px;
  margin: 32px auto;
}
.ccp-contest-form .ccp-lang-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 18px;
}
.ccp-contest-form .ccp-lang-button {
  background: #f3f4f6;
  border: none;
  border-radius: 6px;
  padding: 6px 18px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}
.ccp-contest-form .ccp-lang-button.active {
  background: #2563eb;
  color: #fff;
}
.ccp-contest-form .ccp-progress-bar {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  gap: 0;
}
.ccp-contest-form .ccp-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.ccp-contest-form .ccp-progress-dot {
  width: 18px;
  height: 18px;
  background: #e5e7eb;
  border-radius: 50%;
  margin-bottom: 4px;
  border: 2px solid #2563eb;
  transition: background 0.2s;
}
.ccp-contest-form .ccp-progress-step.active .ccp-progress-dot,
.ccp-contest-form .ccp-progress-step.completed .ccp-progress-dot {
  background: #2563eb;
}
.ccp-contest-form .ccp-progress-label {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}
.ccp-contest-form .ccp-step {
  margin-bottom: 18px;
}
.ccp-contest-form .ccp-step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
  text-align: center;
}
.ccp-contest-form .ccp-step-description {
  color: #444;
  font-size: 1rem;
  margin-bottom: 18px;
  text-align: center;
}
.ccp-contest-form .ccp-form-field {
  margin-bottom: 16px;
}
.ccp-contest-form .ccp-label {
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  display: block;
}
.ccp-contest-form .ccp-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  background: #f9fafb;
  transition: border 0.2s;
}
.ccp-contest-form .ccp-input:focus {
  border-color: #2563eb;
  outline: none;
  background: #fff;
}
.ccp-btn, .ccp-button, .ccp-button-primary, .ccp-btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 28px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px #2563eb22;
  margin: 0 4px;
}
.ccp-btn:hover, .ccp-button:hover, .ccp-btn-primary:hover, .ccp-button-primary:hover {
  background: #1746a2;
  color: #fff;
  box-shadow: 0 4px 16px #2563eb33;
}
.ccp-button-secondary {
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
  font-weight: 600;
}
.ccp-button-secondary:hover {
  background: #e8f0fe;
  color: #1746a2;
}
.ccp-contest-form .ccp-step-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}
.ccp-contest-form .ccp-countdown-timer {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 1.1rem;
  color: #2563eb;
  margin-bottom: 18px;
}
.ccp-contest-form .ccp-error {
  color: #dc2626;
  background: #fef2f2;
  border: 1.5px solid #dc2626;
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 18px;
  text-align: center;
}
/* RTL support for Arabic */
.ccp-contest-form.ccp-lang-ar, .ccp-contest-form.ccp-rtl {
  direction: rtl;
  text-align: right;
}
.ccp-contest-form.ccp-lang-ar .ccp-step-title,
.ccp-contest-form.ccp-lang-ar .ccp-step-description {
  text-align: right;
}
/* Responsive */
@media (max-width: 600px) {
  .ccp-contest-form {
    padding: 16px 4px;
  }
  .ccp-contest-form .ccp-progress-bar {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- General Form Wrapper --- */
.ccp-contest-form { font-family: 'Cairo', sans-serif; border: 1px solid #e0e0e0; padding: 25px 30px 30px 30px; max-width: 700px; margin: 30px auto; background-color: #ffffff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); position: relative; overflow: visible; }

/* --- Language Switcher --- */
.ccp-lang-switcher { display: flex; justify-content: flex-end; gap: 5px; margin-bottom: 15px; padding: 0 5px; }
.ccp-contest-form.ccp-rtl .ccp-lang-switcher { justify-content: flex-start; }
.ccp-lang-button { font-family: 'Cairo', sans-serif; padding: 4px 10px; font-size: 12px; font-weight: 600; border: 1px solid #ccc; background-color: #f7f7f7; color: #555; border-radius: 3px; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.ccp-lang-button:hover { background-color: #eee; border-color: #bbb; }
.ccp-lang-button.active { background-color: #0073aa; border-color: #0073aa; color: #fff; cursor: default; }

/* --- Language Direction Specific --- */
/* Base LTR */
.ccp-contest-form.ccp-ltr { text-align: left; }
.ccp-contest-form.ccp-ltr .ccp-label { text-align: left; }
.ccp-contest-form.ccp-ltr .ccp-step-nav { flex-direction: row; }
.ccp-contest-form.ccp-ltr .ccp-back-button { margin-right: auto; }
.ccp-contest-form.ccp-ltr .ccp-next-button, .ccp-contest-form.ccp-ltr .ccp-submit-button { margin-left: auto; }
.ccp-contest-form.ccp-ltr .ccp-button .dashicons { margin: 0 5px 0 0; }
.ccp-contest-form.ccp-ltr .ccp-back-button .dashicons { transform: none; }
.ccp-contest-form.ccp-ltr .ccp-next-button .dashicons, .ccp-contest-form.ccp-ltr .ccp-submit-button .dashicons { transform: none; }
.ccp-contest-form.ccp-ltr .ccp-ad-platform .dashicons { margin-right: 5px; }

/* RTL Overrides */
.ccp-contest-form.ccp-rtl { text-align: right; }
.ccp-contest-form.ccp-rtl * { letter-spacing: normal !important; }
.ccp-contest-form.ccp-rtl .ccp-label { text-align: right; }
.ccp-contest-form.ccp-rtl .ccp-step-nav { flex-direction: row-reverse; }
.ccp-contest-form.ccp-rtl .ccp-back-button { margin-left: auto; margin-right: 0; }
.ccp-contest-form.ccp-rtl .ccp-next-button, .ccp-contest-form.ccp-rtl .ccp-submit-button { margin-right: auto; margin-left: 0; }
.ccp-contest-form.ccp-rtl .ccp-button .dashicons { margin: 0 0 0 5px; }
.ccp-contest-form.ccp-rtl .ccp-back-button .dashicons { transform: scaleX(-1); }
.ccp-contest-form.ccp-rtl .ccp-next-button .dashicons, .ccp-contest-form.ccp-rtl .ccp-submit-button .dashicons { transform: scaleX(-1); }
.ccp-contest-form.ccp-rtl .ccp-user-info { gap: 15px; }
.ccp-contest-form.ccp-rtl .ccp-ad-platform .dashicons { margin-left: 5px; margin-right: 0; }

/* --- Progress Bar --- */
.ccp-progress-bar { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 35px; padding: 0 5px; position: relative; }
.ccp-progress-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; flex-basis: 0; flex-grow: 1; padding: 0 5px; }
.ccp-progress-dot { width: 28px; height: 28px; background-color: #e0e0e0; border-radius: 50%; border: 3px solid #e0e0e0; transition: background-color 0.3s ease, border-color 0.3s ease; z-index: 1; display: flex; justify-content: center; align-items: center; color: white; font-weight: bold; font-size: 14px; position: relative; }
.ccp-progress-label { margin-top: 8px; font-size: 13px; font-weight: 600; color: #777; transition: color 0.3s ease; line-height: 1.3; }
.ccp-progress-connector { position: absolute; top: 12px; left: 12.5%; right: 12.5%; height: 4px; background-color: #e0e0e0; z-index: 0; }
.ccp-progress-step.active .ccp-progress-dot { background-color: #fff; border-color: #4CAF50; color: #4CAF50; }
.ccp-progress-step.active .ccp-progress-dot::before { content: ''; display: block; width: 12px; height: 12px; background-color: #4CAF50; border-radius: 50%; }
.ccp-progress-step.completed .ccp-progress-dot { background-color: #4CAF50; border-color: #4CAF50; color: white; }
.ccp-progress-step.completed .ccp-progress-dot::before { content: "\f147"; font-family: dashicons !important; display: inline-block; color: white; font-size: 18px; line-height: 1; display: block; width: auto; height: auto; background-color: transparent; border-radius: 0; }
.ccp-progress-step.active .ccp-progress-label, .ccp-progress-step.completed .ccp-progress-label { color: #4CAF50; }

/* --- Countdown Timer --- */
.ccp-countdown-timer { text-align: center; margin: 20px 0 25px 0; display: flex; justify-content: center; align-items: center; gap: 8px; }
.ccp-countdown-timer > span { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 4px; background-color: #e9ecef; border: 1px solid #dee2e6; color: initial; font-weight: initial; min-width: initial; }
.ccp-countdown-timer > span span { font-weight: bold; color: #333; font-size: 1em; line-height: 1.4; min-width: 25px; display: inline-block; text-align: right; }
.ccp-countdown-timer .prefix { background-color: transparent !important; color: #555; font-weight: normal; padding: 5px 0; min-width: auto; border: none; font-size: 0.95em; }
.ccp-countdown-timer .days-wrapper span::before, .ccp-countdown-timer .hours-wrapper span::before, .ccp-countdown-timer .minutes-wrapper span::before, .ccp-countdown-timer .seconds-wrapper span::before { font-family: dashicons !important; display: inline-block; font-size: 1.1em; line-height: 1; vertical-align: middle; margin-right: 5px; }
.ccp-contest-form.ccp-rtl .ccp-countdown-timer .days-wrapper span::before, .ccp-contest-form.ccp-rtl .ccp-countdown-timer .hours-wrapper span::before, .ccp-contest-form.ccp-rtl .ccp-countdown-timer .minutes-wrapper span::before, .ccp-contest-form.ccp-rtl .ccp-countdown-timer .seconds-wrapper span::before { margin-right: 0; margin-left: 5px; }
.ccp-countdown-timer .days-wrapper span::before { content: "\f145"; }
.ccp-countdown-timer .hours-wrapper span::before { content: "\f469"; }
.ccp-countdown-timer .minutes-wrapper span::before { content: "\f469"; }
.ccp-countdown-timer .seconds-wrapper span::before { content: "\f504"; }
.ccp-countdown-timer .ended { font-weight: bold; color: #dc3232; background-color: transparent !important; padding: 5px 0; min-width: auto; box-shadow: none; }

/* --- Steps, Form Fields, Buttons --- */
.ccp-step { margin-bottom: 25px; padding-bottom: 20px; }
.ccp-step:last-of-type { margin-bottom: 0; padding-bottom: 0; }
.ccp-step-title { font-size: 1.6em; font-weight: 700; color: #333; margin-top: 0; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #0073aa; display: inline-block; }
.ccp-step-description, .ccp-step-note { color: #555; font-size: 1em; line-height: 1.6; margin-bottom: 18px; }
.ccp-step-note { font-size: 0.9em; color: #777; margin-top: 15px; }
.ccp-step-note a { color: #0073aa; text-decoration: none; }
.ccp-step-note a:hover { text-decoration: underline; }
.ccp-form-field { margin-bottom: 18px; }
.ccp-label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.95em; color: #444; }
.ccp-input, .ccp-textarea, .ccp-select { width: 100%; padding: 12px 15px; border: 1px solid #ccc; box-sizing: border-box; border-radius: 4px; font-family: 'Cairo', sans-serif; font-size: 1em; transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.ccp-input:focus, .ccp-textarea:focus, .ccp-select:focus { border-color: #0073aa; outline: none; box-shadow: 0 0 0 1px #0073aa; }
.ccp-input-error { border-color: #dc3232 !important; background-color: #fef7f7; }
.ccp-step-nav { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.ccp-ltr .ccp-step-nav .ccp-next-button, .ccp-ltr .ccp-step-nav .ccp-submit-button { margin-left: 15px; }
.ccp-rtl .ccp-step-nav .ccp-next-button, .ccp-rtl .ccp-step-nav .ccp-submit-button { margin-right: 15px; }
.ccp-button { color: white; padding: 12px 20px; border: none; cursor: pointer; font-size: 1em; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; border-radius: 5px; transition: background-color 0.2s ease-in-out, opacity 0.2s ease; font-family: 'Cairo', sans-serif; vertical-align: middle; }
.ccp-button:disabled { opacity: 0.6; cursor: not-allowed; background-color: #94cde7 !important; }
.ccp-button .dashicons { font-size: 18px; line-height: 1; height: auto; }
.ccp-button-primary { background-color: #0073aa; }
.ccp-button-primary:not(:disabled):hover { background-color: #005177; }
.ccp-button-secondary { background-color: #6c757d; color: white; }
.ccp-button-secondary:not(:disabled):hover { background-color: #5a6268; }
.ccp-button-link { background: none; border: none; color: #0073aa; padding: 0; margin: 0; font-size: 0.9em; text-decoration: underline; }
.ccp-button-link:hover { color: #005177; }

/* --- Step 2 Specifics (FB Login) --- */
.ccp-fb-login-container { margin-bottom: 25px; text-align: center; }
.ccp-privacy-note { display: block; font-size: 0.85em; color: #777; margin-top: 8px; }
.ccp-user-info { display: flex; align-items: center; background-color: #f0f5ff; border: 1px solid #cce0ff; padding: 10px 15px; border-radius: 6px; margin-bottom: 20px; gap: 15px; }
.ccp-user-avatar img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: block; }
.ccp-user-details { display: flex; flex-direction: column; }
.ccp-logged-in-as { font-size: 0.85em; color: #555; margin-bottom: 2px; }
.ccp-user-name { font-weight: 700; font-size: 1.1em; color: #333; }
.ccp-user-details .ccp-switch-account-button { margin-left: 15px; font-size: 0.9em; vertical-align: middle; padding: 2px 6px; background: none; border: 1px solid #ccc; color: #555; cursor: pointer; border-radius: 3px; }
.ccp-user-details .ccp-switch-account-button:hover { background-color: #f0f0f0; border-color: #aaa; color: #333; }
.ccp-user-details .ccp-switch-account-button .dashicons { font-size: 16px; line-height: inherit; vertical-align: text-bottom; margin-right: 3px; }

/* --- NEW Ad Step Styling --- */
.ccp-step-ad .ccp-ad-content {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.ccp-ad-image {
    max-width: 100%;
    max-height: 150px; /* Limit image height */
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}
.ccp-ad-business-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #222;
    margin: 0 0 5px 0;
}
.ccp-ad-platform {
    font-size: 0.95em;
    color: #666;
    margin: 0 0 15px 0;
    display: inline-flex; /* Align icon */
    align-items: center;
}
.ccp-ad-platform .dashicons {
    font-size: 18px;
    color: inherit; /* Inherit color from parent */
}
.ccp-ad-content .ccp-button {
    margin: 5px; /* Space around buttons */
}
.ccp-like-button.ccp-liked {
    background-color: #28a745; /* Green when liked */
    opacity: 1; /* Full opacity when liked */
    cursor: default;
}
.ccp-like-button.ccp-liked:hover {
    background-color: #218838; /* Darker green */
}

/* --- Question Step Styling --- */
.ccp-question-field { margin-bottom: 1.5em; }
.ccp-question-label { display: block; font-weight: bold; margin-bottom: 0.5em; font-size: 1.1em; color: #333; }
.ccp-select { padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; background-color: #fff; box-sizing: border-box; }

/* --- Messages & Loader --- */
#ccp-message { padding: 15px 20px; margin: 0 0 20px 0; border-radius: 4px; border-width: 1px; border-style: solid; font-size: 1.05em; }
.ccp-error { background-color: #fbeaea; color: #8a1f1f; border-color: #eac8c8; }
.ccp-success { background-color: #eaf7ea; color: #2a6f2a; border-color: #bce2bc; }
.ccp-notice { background-color: #fff8e1; color: #6d5a1b; border-color: #fde099; }
#ccp-loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.9); z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.2em; color: #333; border-radius: 8px; }
.ccp-spinner { border: 5px solid #f3f3f3; border-top: 5px solid #0073aa; border-radius: 50%; width: 40px; height: 40px; animation: ccp-spin 1s linear infinite; margin-bottom: 10px; }
@keyframes ccp-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.ccp-loader-text { font-weight: 600; }

/* --- Status Display Area Styling --- */
.ccp-status-display-area { border: 1px solid #e0e0e0; border-radius: 8px; background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-top: 20px; overflow: hidden; }
.ccp-status-display-area .ccp-status-header { padding: 20px 25px; border-bottom: 1px solid #eee; background-color: #f8f9fa; }
.ccp-status-display-area .ccp-status-main-title { margin: 0; font-size: 1.6em; font-weight: 700; color: #333; display: flex; align-items: center; }
.ccp-status-display-area .ccp-status-main-title .dashicons { font-size: 32px; width: 32px; height: 32px; margin-right: 15px; color: #6c757d; }
.ccp-status-display-area .ccp-status-body { padding: 25px; line-height: 1.7; }
.ccp-status-display-area .ccp-status-message p { margin-bottom: 1em; color: #555; }
.ccp-status-display-area .ccp-status-message p:last-child { margin-bottom: 0; }
.ccp-status-display-area .ccp-contest-info { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #eee; font-size: 0.95em; color: #6c757d; }
.ccp-status-display-area .ccp-info-item { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ccp-status-display-area .ccp-info-item .dashicons { margin-right: 5px; vertical-align: middle; font-size: 20px; color: #888; }
.ccp-status-display-area .ccp-info-label { font-weight: 600; }
.ccp-status-display-area .ccp-info-value { font-weight: bold; color: #333; }
.ccp-status-display-area .ccp-status-countdown { margin-top: 20px; padding: 15px; background-color: #f1f1f1; border-radius: 5px; text-align: center; }
/* Specific Status States */
.ccp-status-display-area.ccp-status-state-success .ccp-status-header { background: linear-gradient(135deg, #e0f2f7, #d1ecf1); }
.ccp-status-display-area.ccp-status-state-success .ccp-status-main-title .dashicons-yes-alt { color: #28a745; }
.ccp-status-display-area.ccp-status-state-success .ccp-status-body { background-color: #fafffa; }
.ccp-status-display-area.ccp-status-state-is-winner .ccp-status-header { background: linear-gradient(135deg, #fff3cd, #ffeeba); }
.ccp-status-display-area.ccp-status-state-is-winner .ccp-status-main-title .dashicons-awards { color: #ffc107; }
.ccp-status-display-area.ccp-status-state-is-winner .ccp-status-body { background-color: #fffaf0; }
.ccp-status-display-area .ccp-winner-info { margin-top: 20px; padding: 15px; background-color: #e2f0ff; border: 1px solid #b8d4fe; border-radius: 5px; display: flex; align-items: center; }
.ccp-status-display-area .ccp-winner-avatar img { border-radius: 50%; margin-right: 15px; width: 50px; height: 50px; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.ccp-status-display-area .ccp-winner-details span { display: block; }
.ccp-status-display-area .ccp-winner-name { font-weight: bold; color: #0056b3; }
.ccp-status-display-area .ccp-winner-code { font-size: 0.9em; color: #555; }
.ccp-status-display-area .ccp-winner-code strong { color: #111; }
.ccp-status-display-area.ccp-status-state-waiting-for-end .ccp-status-main-title .dashicons-info, .ccp-status-display-area.ccp-status-state-ended-pending-results .ccp-status-main-title .dashicons-clock { color: #17a2b8; }
.ccp-status-display-area.ccp-status-state-ended-not-winner .ccp-status-main-title .dashicons-megaphone { color: #6c757d; }
.ccp-status-display-area.ccp-status-state-closed .ccp-status-main-title .dashicons-lock, .ccp-status-display-area.ccp-status-state-error-unknown .ccp-status-main-title .dashicons-warning { color: #dc3545; }

/* Hide old/unused elements */
#ccp-like-verification-modal { display: none !important; }
.ccp-confirm-like { display: none !important; } /* Hide old checkbox */

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    /* Make form take more width, reduce margins/padding */
    .ccp-contest-form {
        padding: 15px 10px 20px 10px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        max-width: none !important; /* Remove max-width */
        width: auto !important; /* Let it fill container */
        box-sizing: border-box !important;
        border: none !important; /* Remove border */
        box-shadow: none !important; /* Remove shadow */
    }

    /* Simplify progress bar */
    .ccp-progress-bar {
        padding: 0 !important;
        margin-bottom: 25px !important;
    }
    .ccp-progress-label {
        font-size: 10px !important; /* Even smaller labels */
        line-height: 1.2 !important;
        display: none; /* Hide labels on mobile */
    }
     .ccp-progress-step.active .ccp-progress-label {
        display: block; /* Show only active label */
        font-weight: bold;
    }
    .ccp-progress-dot {
        width: 24px !important;
        height: 24px !important;
        border-width: 2px !important;
    }
     .ccp-progress-step.active .ccp-progress-dot::before {
        width: 10px !important;
        height: 10px !important;
    }
     .ccp-progress-step.completed .ccp-progress-dot::before {
        font-size: 16px !important;
    }
    .ccp-progress-connector {
        left: 5% !important;
        right: 5% !important;
        top: 11px !important; /* Adjust vertical position */
    }

    /* Adjust step titles and descriptions */
    .ccp-step-title {
        font-size: 1.3em !important;
        margin-bottom: 10px !important;
        padding-bottom: 5px !important;
    }
    .ccp-step-description {
        font-size: 0.95em !important;
        margin-bottom: 15px !important;
    }

    /* Force visibility and stacking for nav buttons */
    .ccp-contest-form .ccp-step .ccp-step-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important; /* Slightly more gap */
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 25px !important;
        padding-top: 15px !important;
    }

    /* Reset margins applied for LTR/RTL desktop view */
    .ccp-ltr .ccp-step-nav .ccp-next-button,
    .ccp-ltr .ccp-step-nav .ccp-submit-button,
    .ccp-rtl .ccp-step-nav .ccp-next-button,
    .ccp-rtl .ccp-step-nav .ccp-submit-button {
        margin: 0 !important; /* Use !important */
    }

    /* Force visibility and full width for buttons inside nav */
    .ccp-contest-form .ccp-step .ccp-step-nav .ccp-button {
        display: inline-flex !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 15px !important; /* Larger padding for easier tapping */
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        box-sizing: border-box !important;
        font-size: 1.1em !important; /* Slightly larger font */
    }

    /* Force visibility for FB login container and button */
    .ccp-contest-form .ccp-fb-login-container {
        display: block !important;
        text-align: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        padding: 10px 0 !important; /* Add some padding */
    }
    .ccp-contest-form .ccp-fb-login-container .fb-login-button {
        display: inline-block !important; /* FB button default */
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 100% !important; /* Prevent overflow */
    }
    .ccp-contest-form .ccp-fb-login-container .fb-login-button iframe,
    .ccp-contest-form .ccp-fb-login-container .fb-login-button span {
        max-width: 100% !important;
    }

    /* Adjust Ad content buttons */
    .ccp-ad-content .ccp-button {
        width: auto !important; /* Allow ad buttons to size naturally */
        padding: 12px 18px !important; /* Larger padding */
        font-size: 1.05em !important;
    }

    /* Adjust Countdown Timer */
    .ccp-countdown-timer {
        flex-wrap: wrap !important; /* Allow timer elements to wrap */
        gap: 5px !important;
        padding: 10px !important;
        background-color: #f8f9fa !important;
        border-radius: 5px !important;
    }
    .ccp-countdown-timer > span {
        padding: 5px 10px !important; /* Smaller padding */
        font-size: 0.9em !important;
        margin-bottom: 5px !important; /* Space when wrapped */
    }
    .ccp-countdown-timer .prefix {
        width: 100% !important; /* Full width prefix */
        text-align: center !important;
        margin-bottom: 5px !important;
        padding: 0 !important;
    }

    /* Adjust User Info Display */
    .ccp-user-info {
        flex-direction: column !important; /* Stack avatar and details */
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
    }
    .ccp-user-details .ccp-switch-account-button {
        margin-left: 0 !important; /* Remove left margin */
        margin-top: 5px !important; /* Add top margin */
    }

    /* Adjust Status Display */
    .ccp-status-display-area .ccp-status-header {
        padding: 15px !important;
    }
    .ccp-status-display-area .ccp-status-main-title {
        font-size: 1.4em !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
    .ccp-status-display-area .ccp-status-main-title .dashicons {
        margin-right: 0 !important;
    }
    .ccp-status-display-area .ccp-status-body {
        padding: 20px 15px !important;
    }
    .ccp-status-display-area .ccp-winner-info {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
    .ccp-status-display-area .ccp-winner-avatar img {
        margin-right: 0 !important;
    }
} /* End Media Query */
