/*
Theme Name: Divi Child
Theme URI: https://quickpen.ai/
Version: 1.0
Description: Child Theme of Divi
Template: Divi
*/
@import url("../Divi/style.css");
.single-post .container.clearfix.et_menu_container {
    left: -32px !important;
    position: relative; /* Ensure position is relative for 'left' to work */
}
ul.dsm-menu,
ul.dsm-menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
/* QuickPen Search - Perfect Circle Button + Compact Style (unchanged) */
#block-2.widget_search .wp-block-search {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.5rem;
}
ul.dsm-menu li::marker,
ul.dsm-menu li::before {
    content: none !important;
}
.et_pb_post_content_0_tb_body h1 {
    display: none !important;
}
/* =========================================================
   4) SEARCH WIDGET STYLES (If you still use this)
   ========================================================= */
#block-2.widget_search .wp-block-search {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.5rem;
}
h2.wp-block-heading {
    margin-bottom: -80px;
}
#block-2.widget_search .wp-block-search__button {
	width:34px !important;
	height:34px !important;
}
footer#main-footer {
    display: none;
}


.mobile_menu_bar:before {
	color:#D1D5DB !important;
}
body {
  background-color: #0D0B1A;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,.15) 0%, rgba(13,11,26,0) 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #D1D5DB;
  overflow-x: hidden;
}

.viewport-glow {
  position: fixed;
  left: 50%;
  top: -8vh;
  transform: translateX(-50%);
  width: min(1250px, 100vw);
  height: 70vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 15%, rgba(124,58,237,0.30) 0%, rgba(167,139,250,0.14) 35%, rgba(13,11,26,0) 65%);
  filter: blur(110px);
  opacity: 0.7;
  animation: centerGlowPulse 10s ease-in-out infinite alternate;
}

@keyframes centerGlowPulse {
  0%,100% { opacity: 0.65; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.85; transform: translateX(-50%) scale(1.06); }
}

.hero-glow-1 {
  position: fixed;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #7C3AED 0%, rgba(13,11,26,0) 70%);
  filter: blur(100px);
  opacity: 0.25;
  animation: backgroundPulse 8s infinite alternate ease-in-out;
  z-index: 0;
}

.hero-glow-2 {
  position: fixed;
  bottom: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #A78BFA 0%, rgba(13,11,26,0) 70%);
  filter: blur(130px);
  opacity: 0.25;
  animation: backgroundPulse 10s infinite alternate-reverse ease-in-out;
  z-index: 0;
}
.mobile-bottom-glow {
  display: block !important;
  position: fixed !important;
  left: 50% !important;
  bottom: -100px !important;
  transform: translateX(-50%) !important;
  width: 420px !important;
  height: 420px !important;
  background: radial-gradient(
    circle,
    rgba(167,139,250,0.55) 0%,  /* brighter center */
    rgba(124,58,237,0.25) 40%,  /* stronger mid */
    rgba(13,11,26,0) 70%
  ) !important;
  filter: blur(130px) !important;
  opacity: 0.85 !important;      /* increased visibility */
  animation: backgroundPulse 10s infinite alternate ease-in-out !important;
  z-index: 2 !important;
  pointer-events: none !important;
}
@keyframes backgroundPulse {
  0%,100% { opacity: 0.15; transform: scale(0.95); }
  50% { opacity: 0.30; transform: scale(1.05); }
}

@media (max-width: 768px) {
  .hero-glow-1,
  .hero-glow-2 { display: none !important; }

}
header#main-header {
    background-color: rgba(13, 11, 26, 0.63);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}
/* Hide "Search" label */
#block-2.widget_search .wp-block-search__label {
  display: none !important;
}

/* Inner wrapper */
#block-2.widget_search .wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  background-color: #16122a; /* card-bg */
  border: 1px solid #2a234a; /* border-color */
  border-radius: 0.75rem;
  padding: 0.25rem 0.45rem 0.25rem 0.75rem;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

/* Glow only when focused */
#block-2.widget_search .wp-block-search__inside-wrapper:focus-within {
  border-color: #7c3aed;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.55);
  background-color: #16122a;
}

/* Input */
#block-2.widget_search .wp-block-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #f3f4f6;
  font-size: 0.85rem;
  padding: 0.35rem 0;
}

#block-2.widget_search .wp-block-search__input::placeholder {
  color: #9ca3af;
}

#block-2.widget_search .wp-block-search__input:focus {
  outline: none;
  box-shadow: none;
}

/* Clear X icon */
#block-2.widget_search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 12px;
  width: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23d1d5db' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cline x1='5' y1='5' x2='19' y2='19'/%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3C/svg%3E")
    no-repeat center center / contain;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}
#block-2.widget_search input[type="search"]::-webkit-search-cancel-button:hover {
  opacity: 1;
}

/* Perfect circular search button */
#block-2.widget_search .wp-block-search__button {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(to right, #a78bfa, #7c3aed);
  box-shadow: none;
  cursor: pointer;
  transition: box-shadow 0.15s ease, opacity 0.15s ease;
  text-indent: -9999px;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* ensures perfect circle */
}

/* Magnifying glass icon */
#block-2.widget_search .wp-block-search__button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg fill='%23F3F4F6' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 105.293 14.707l4 4a1 1 0 001.414-1.414l-4-4A8 8 0 0010 2zm0 2a6 6 0 110 12A6 6 0 0110 4z'/%3E%3C/svg%3E")
    no-repeat center center / contain;
  pointer-events: none;
}

/* Glow only on hover */
#block-2.widget_search .wp-block-search__button:hover {
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.7);
  opacity: 0.96;
}

#block-2.widget_search .wp-block-search__button:active {
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.45);
}

/* Responsive tweak */
@media (max-width: 480px) {
  #block-2.widget_search .wp-block-search__inside-wrapper {
    padding: 0.22rem 0.35rem 0.22rem 0.6rem;
    gap: 0.35rem;
  }
  #block-2.widget_search .wp-block-search__button {
    width: 34px !important;
    height: 34px !important;
  }
	h2.wp-block-heading {
    margin-bottom: -60px;
}
}
/* ================================
   QuickPen Related Posts - Refined Card Layout
   ================================ */
.AIPR-container {
  background-color: #16122A !important;  
  border: 2px solid #2A234A !important;  
  border-radius: 1rem !important;
  box-shadow: 0px 12px 18px -8px #2A234A !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover glow */
.AIPR-container:hover {
  border-color: #5B21B6 !important;
  box-shadow: 0px 12px 18px -8px #5B21B6,
              0 0 20px rgba(124, 58, 237, 0.35) !important;
  transform: none !important;
}

/* Image */
.AIPR-img {
  width: 100% !important;
  height: auto !important;
  border-bottom: 2px solid #2A234A !important;
  object-fit: cover !important;
  display: block !important;
  transition: opacity 0.25s ease;
}
.AIPR-container:hover .AIPR-img {
  opacity: 0.95 !important;
}

/* Title */
.AIPR-title {
  color: #F3F4F6 !important; /* lightest text */
  font-weight: 600 !important;
  font-size: 1rem !important; /* slightly larger */
  line-height: 1.5 !important;
  padding: 0.9rem 1rem 0.8rem !important; /* reduced bottom padding */
  background: transparent !important;
  text-align: left !important;
  transition: color 0.2s ease;
}
.AIPR-container:hover .AIPR-title {
  color: #C4B5FD !important; /* soft violet accent */
}

/* Optional excerpt */
.AIPR-text {
display:none !important;
}

/* Make whole card clickable */
.AIPR-container a {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
  background: transparent !important;
}

/* Keep plugin’s layout intact */
.AIPS_list {
  background: transparent !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important;
  justify-content: flex-start !important;
}

.AIPR-theme .AIPR-title {    
	margin-bottom: -2px;
    margin-top: -18px;
}
/* Base: let the plugin do its thing */
.AIPS_list { display: flex; gap: 1.25rem; }

/* ---- Desktop & Tablet: 3 inline columns, 1 row ---- */
@media (min-width: 600px) {
  .AIPS_list { flex-wrap: nowrap !important; }                 /* single row */
  .AIPS_list .AIPR-theme {                                     /* 3 equal cols */
    flex: 0 0 calc(33.333% - 0.84rem) !important;
    max-width: calc(33.333% - 0.84rem) !important;
  }
}

/* ---- Mobile: 1 column, 3 rows (stacked) ---- */
@media (max-width: 599px) {
  .AIPS_list { flex-wrap: wrap !important; }                   /* allow rows */
  .AIPS_list .AIPR-theme {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Centered glowing dot separator */
.qp-separator {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 48px 0;
}

.qp-glow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;

  background: #7C3AED; /* primary-main */
  opacity: 0.95;

  /* XL glow: stronger, softer, more radiant */
  box-shadow:
    0 0 14px rgba(124, 58, 237, 0.55),
    0 0 28px rgba(124, 58, 237, 0.75),
    0 0 42px rgba(124, 58, 237, 0.65);

  animation: qpGlowPulse 3.2s ease-in-out infinite;
}

@keyframes qpGlowPulse {
  0% {
    transform: scale(1);
    background: #7C3AED;
    box-shadow:
      0 0 14px rgba(124, 58, 237, 0.55),
      0 0 28px rgba(124, 58, 237, 0.75),
      0 0 42px rgba(124, 58, 237, 0.65);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.22); /* slightly stronger pop */
    background: #A78BFA; /* primary-light */
    box-shadow:
      0 0 18px rgba(167, 139, 250, 0.8),
      0 0 40px rgba(124, 58, 237, 0.95),
      0 0 60px rgba(124, 58, 237, 0.85);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    background: #7C3AED;
    box-shadow:
      0 0 14px rgba(124, 58, 237, 0.55),
      0 0 28px rgba(124, 58, 237, 0.75),
      0 0 42px rgba(124, 58, 237, 0.65);
    opacity: 0.85;
  }
}
/* =========================================================
   1) OLD 2-MODULE SPLIT HEADINGS
   (For "Find The Right Plan," etc. - Unchanged)
   ========================================================= */
.split-heading-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
}
.split-heading-row .et_pb_module,
.split-heading-row .et_pb_text,
.split-heading-row .et_pb_text_inner {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
}
.split-heading-row .sh-left-row,
.split-heading-row .sh-right-row {
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(28px, 6vw, 3rem);
  letter-spacing: 0;
}
.split-heading-row .sh-left-row {
  text-align: right;
}
.split-heading-row .sh-right-row {
  text-align: left;
}

/* =========================================================
   2) GRADIENT TEXT SPAN 
   (Unchanged)
   ========================================================= */
.gradient-text {
  background: linear-gradient(45deg, #7C3AED, #A78BFA, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300%;
  animation: gradient-flow 9s ease-in-out infinite;
}
@keyframes gradient-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================================================
   3) NEW HERO + TRUSTED HEADINGS (THE FLEX FIX)
   ========================================================= */

/* Base container: We make the H2 the flex parent */
h2.hero-heading,
h2.trusted-heading {
  font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: #F3F4F6;
  
  /* --- THE NEW LOGIC --- */
  display: flex;
  flex-direction: column; /* Stack the spans */
  align-items: center;   /* Center them horizontally */

  /* --- Brute-force reset --- */
  padding: 0 !important;  /* Kills global h2 padding-bottom: 10px */
  margin: 0 !important;   /* Kills global h2 margin */
  line-height: 1.1;       /* Set a sane line-height for the H2 itself */
}

/* Children: The spans are now flex items */
.hero-heading .hero-line,
.trusted-heading .trusted-line {
  /* This is the hammer. We force the line-height on the
     spans themselves to kill the 1.7em body inheritance. */
  line-height: 1.1em !important; 
  margin: 0;
  padding: 0;
}

/* --- Precise Spacing Control --- */
/* We no longer need media queries, as per your new goal! */

/* Space under "Scale Your" */
.hero-heading .hero-line-1 {
  margin-bottom: 0.18em;
}
/* Space under "Content Marketing" */
.hero-heading .hero-line-2 {
  margin-bottom: 0.14em;
}

/* Space under "Trusted By" */
.trusted-heading .trusted-line-1 {
  margin-bottom: 0.12em;
}

/* =========================================================
   4) SEARCH WIDGET STYLES (If you still use this)
   ========================================================= */
#block-2.widget_search .wp-block-search {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.5rem;
}
/* =========================================
   1. MASTER CONTAINER (FLEX ROW ALWAYS)
   ========================================= */
.et_pb_blurb_0_tb_body .et_pb_blurb_content {
    display: flex !important;
    flex-direction: row !important; 
    align-items: flex-start !important; /* Align to top so we can use margin to push image down */
    justify-content: flex-start !important;
    gap: 20px !important; 
    text-align: left !important;
}

/* =========================================
   2. IMAGE STYLING (DESKTOP)
   ========================================= */

/* The Wrapper */
.et_pb_blurb_0_tb_body .et_pb_main_blurb_image {
    margin: 0 !important; 
    flex-shrink: 0 !important; 
    
    /* DESKTOP SPECIFIC ADJUSTMENTS */
    margin-top: 40px !important; /* Pushes image down 40px */
    width: 100px !important;      /* Increased Size (was 85px) */
    height: 100px !important;
    min-width: 100px !important;
}

/* The Wrapper Internal Span */
.et_pb_blurb_0_tb_body .et_pb_image_wrap {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* The Actual Image */
.et_pb_blurb_0_tb_body .et_pb_main_blurb_image img {
    width: 100px !important;  /* Match Wrapper */
    height: 100px !important; /* Match Wrapper */
    
    object-fit: cover !important;
    border-radius: 12px !important; 
    border: 1px solid #3a3358 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;
}

/* =========================================
   3. TEXT STYLING
   ========================================= */

.et_pb_blurb_0_tb_body .et_pb_blurb_container {
    flex: 1 !important;
    text-align: left !important;
    padding: 0 !important;
}

/* Author Name */
.et_pb_blurb_0_tb_body .et_pb_module_header {
    font-size: 22px !important; /* Slightly larger header to match larger image */
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
}

/* Bio Text */
.et_pb_blurb_0_tb_body .et_pb_blurb_description {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #b4b4c8 !important;
}


/* =========================================
   4. MOBILE OVERRIDES (PROTECTED)
   ========================================= */
@media (max-width: 768px) {
    
    .et_pb_blurb_0_tb_body .et_pb_blurb_content {
        gap: 12px !important;
        align-items: flex-start !important; 
    }

    /* RESET Image to "Perfect" Mobile Size/Position */
    .et_pb_blurb_0_tb_body .et_pb_main_blurb_image,
    .et_pb_blurb_0_tb_body .et_pb_main_blurb_image img {
        width: 60px !important;  
        height: 60px !important;
        min-width: 60px !important;
        margin-top: 0 !important; /* Remove the 40px push on mobile */
    }

    .et_pb_blurb_0_tb_body .et_pb_module_header {
        font-size: 18px !important;
        margin-top: -3px !important; 
    }

    .et_pb_blurb_0_tb_body .et_pb_blurb_description {
        font-size: 13px !important; 
        line-height: 1.45 !important;
    }
}
/* --- Gravity Forms Dark Branding Wrapper --- */
#gform_wrapper_1 {
    font-family: 'Inter', sans-serif;
    max-width: 100%;
}

/* 1. Labels */
#gform_wrapper_1 .gfield_label {
    color: #F3F4F6; /* text-light */
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 8px;
}

#gform_wrapper_1 .gfield_required {
    color: #EF4444; /* danger */
}

/* 2. Input Fields (Text, Email, Textarea) */
#gform_wrapper_1 input[type="text"],
#gform_wrapper_1 input[type="email"],
#gform_wrapper_1 input[type="tel"],
#gform_wrapper_1 textarea {
    background-color: #16122A !important; /* card-bg */
    border: 1px solid #2A234A !important; /* border-color */
    color: #F3F4F6 !important; /* text-light */
    border-radius: 8px !important; /* close to xl2 but scaled for inputs */
    padding: 12px 16px !important;
    font-size: 16px;
    line-height: 1.5;
    outline: none;
    transition: all 0.3s ease;
}

/* Placeholder Text Color */
#gform_wrapper_1 input::placeholder,
#gform_wrapper_1 textarea::placeholder {
    color: #9CA3AF !important; /* text-dark */
    opacity: 1;
}

/* Focus State (Glow) */
#gform_wrapper_1 input:focus,
#gform_wrapper_1 textarea:focus {
    border-color: #7C3AED !important; /* primary-main */
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4) !important; /* glow-sm */
}

/* 3. THE AUTO-FILL FIX 
   This forces the browser to paint over the white autofill background 
   with your dark card color using an inset shadow. 
*/
#gform_wrapper_1 input:-webkit-autofill,
#gform_wrapper_1 input:-webkit-autofill:hover, 
#gform_wrapper_1 input:-webkit-autofill:focus, 
#gform_wrapper_1 input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #16122A inset !important; /* match card-bg */
    -webkit-text-fill-color: #F3F4F6 !important; /* match text-light */
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #F3F4F6;
}

/* 4. Sub-labels (First/Last name small text) */
#gform_wrapper_1 .ginput_complex label {
    color: #D1D5DB !important; /* text-mid */
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* 5. Submit Button */
#gform_wrapper_1 input[type="submit"] {
    background: linear-gradient(to right, #A78BFA, #7C3AED) !important;
    color: #fff !important;
    padding: 14px 24px !important; /* Increased horizontal padding slightly for balance */
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none;
    border: none !important;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Button Hover Effect */
#gform_wrapper_1 input[type="submit"]:hover {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.6); /* glow-md */
    transform: translateY(-1px);
}

/* 6. Validation Errors (If user misses a field) */
#gform_wrapper_1 .gfield_validation_message {
    color: #EF4444 !important; /* danger */
    background-color: rgba(239, 68, 68, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin-top: 6px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 13px;
}

/* Error state for inputs */
#gform_wrapper_1 .gfield_error input,
#gform_wrapper_1 .gfield_error textarea {
    border-color: #EF4444 !important;
}
/* --- 1. FULL PAGE SPINNER OVERLAY --- */
/* This targets the transparent pixel we set in PHP and stretches it full screen */
body .gform_wrapper .gform_ajax_spinner {
    position: fixed !important;
    z-index: 999999 !important;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: block !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
    
    /* Dark semi-transparent background for the whole screen */
    background-color: rgba(22, 18, 42, 0.85); /* Your card-bg with opacity */
    backdrop-filter: blur(4px); /* Adds a modern blur effect */
    
    /* THE SPINNER SVG (Your primary-main purple: %237C3AED) */
    background-image: url('data:image/svg+xml,<svg width="24" height="24" stroke="%237C3AED" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><circle cx="12" cy="12" r="9.5" fill="none" stroke-width="3" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" calcMode="spline" values="0 150;42 150;42 150;42 150" keyTimes="0;0.475;0.95;1" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" repeatCount="indefinite"/><animate attributeName="stroke-dashoffset" dur="1.5s" calcMode="spline" values="0;-16;-59;-59" keyTimes="0;0.475;0.95;1" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" repeatCount="indefinite"/></circle><animateTransform attributeName="transform" type="rotate" dur="2s" values="0 12 12;360 12 12" repeatCount="indefinite"/></g></svg>');
    
    background-repeat: no-repeat;
    background-size: 5rem; /* Large spinner */
    background-position: center center;
    content: "";
}


/* --- 2. CONFIRMATION MESSAGE (Sleek & Single Box) --- */

/* Reset wrapper to invisible */
#gform_confirmation_wrapper_1 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* The Message Card */
.gform_confirmation_message {
    background: #16122A !important; /* card-bg */
    border: 1px solid #2A234A !important; /* border-color */
    border-radius: 12px;
    padding: 60px 40px !important;
    text-align: center;
    color: #F3F4F6 !important; /* text-light */
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    
    /* Clean shadow */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    
    /* Animation In */
    animation: slideUpFade 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* --- 3. CUSTOM IMAGE CHECKMARK --- */
.gform_confirmation_message::before {
    content: '';
    display: block;
    margin: 0 auto 24px auto;
    width: 80px;  /* Adjust size as needed */
    height: 80px; /* Adjust size as needed */
    
    /* Using your uploaded image */
    background-image: url('https://quickpen.ai/wp-content/uploads/2025/11/checkmark.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Animation Keyframes */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}