/* Color palette – exactly as original */
    :root {
      --primary: #225902;
      --primary-dark: #0a3b0d;
      --primary-light: #4c8c4c;
      --gold: #C5A028;
      --gold-light: #e5d1a3;
      --white: #ffffff;
      --gray-light: #f8f9fa;
      --gray: #e9ecef;
      --text-light: #6c757d;
      --error: #dc3545;
      --error-bg: #fff5f5;
      --google-blue: #4285f4;
      --google-bg: #76a1504a;
      --tab-hover: #e8f0e8;
    }

    /* ===== MAIN COMPACT CONTAINER ===== */
    .ks-main {
      width: 100%;
      max-width: 900px;        /* slightly narrower than original for compactness */
      background: var(--white);
      border-radius: 28px;
      box-shadow: 0 16px 36px rgba(27, 94, 32, 0.25);
      overflow: hidden;
      margin:20px;margin-top:10px;
    }

    /* split layout – left/right */
    .ks-split {
      display: flex;
      flex-wrap: wrap;          /* allows graceful stacking on tiny devices */
    }

    /* ===== LEFT PANEL – compact, no header overlap, everything fits ===== */
    .ks-left {
      flex: 1 1 200px;          /* min 300px, grow */
      background: linear-gradient(155deg, #225902 0%, #56892b 100%);
      position: relative;
      display: flex;
      flex-direction: column;
      padding: 18px 16px 16px 16px;
      overflow: hidden;
      min-height: 520px;         /* compact but still airy */
      /* CRITICAL FIX - prevent content from escaping */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
        z-index: 0;
    }


    /* background bubbles (smaller) */
    .ks-bubble {
      position: absolute;
      border-radius: 50%;
      background: rgba(197, 160, 40, 0.1);
      z-index: 2;
      pointer-events: none;
    }
    .ks-bubble-1 { width: 35px; height: 35px; top: 12%; left: 5%; animation: bubbleFloat 12s infinite; }
    .ks-bubble-2 { width: 22px; height: 22px; background: rgba(255,255,255,0.1); bottom: 20%; right: 10%; animation: bubbleFloat2 15s infinite; }
    .ks-bubble-3 { width: 30px; height: 30px; top: 65%; left: 12%; animation: bubbleFloat3 10s infinite; }

    @keyframes bubbleFloat { 0%,100%{transform:translate(0,0);} 50%{transform:translate(8px,-12px);} }
    @keyframes bubbleFloat2 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(-10px,10px);} }
    @keyframes bubbleFloat3 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(8px,-10px);} }

   /* ===== LOGO SECTION – BIG but no overlap, with space ===== */
/* ===== LOGO – BIGGER (200px), SUTHI ANIMATION (extra smooth rotation + pulse) ===== */
.ks-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 10;
    margin-bottom: 26px;   /* space before cards */
}

.ks-ring-container {
    position: relative;
    width: 250px;          /* slightly larger than logo for ring space */
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
     
    margin-top: 5px;
}

/* Rotating Rings – suthi animation (smoother, continuous) */
.ks-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--gold);
    border-right-color: rgba(197, 160, 40, 0.4);
    border-bottom-color: rgba(197, 160, 40, 0.1);
    border-left-color: rgba(197, 160, 40, 0.1);
    animation: ringRotate 3.8s linear infinite;
    filter: drop-shadow(0 0 4px rgba(255,215,80,0.3));
    box-sizing: border-box;
}

.ks-ring-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: var(--gold);
    border-left-color: rgba(197, 160, 40, 0.4);
    border-top-color: rgba(197, 160, 40, 0.1);
    border-right-color: rgba(197, 160, 40, 0.1);
    animation: ringRotateReverse 5.2s linear infinite;
    box-sizing: border-box;
}

.ks-ring-3 {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 2px dashed var(--gold-light);
    opacity: 0.6;
    animation: ringRotate 7s linear infinite;
    top: 5%;
    left: 5%;
    box-sizing: border-box;
}

/* smoother rotation – suthi */
@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ringRotateReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* logo icon – exactly 200x200 */
.ks-logo-icon {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
    border: 4px solid var(--gold);
    padding: 16px;
    z-index: 15;
    position: relative;
    transition: transform 0.2s ease;
}

.ks-logo-icon:hover {
    transform: scale(1.01);
}

.ks-logo-icon img {
    width: 210px;          /* image fits nicely inside */
    height: 210px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.ks-logo-text h1 {
    font-size: 30px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
    line-height: 1.2;
    margin-top: 6px;
}

.ks-logo-text h1 span {
    color: white;
    font-weight: 900;
    font-size: 30px;
    text-shadow: 0 2px 5px #00000030;
}


    /* ===== LEFT FOOTER CONTENT – tight but readable ===== */
    .ks-footer-content {
      display: flex;
      flex-direction: column;
      gap: 8px;
      z-index: 10;
      margin-bottom: 6px;
    }

    .ks-tagline {
      background: rgba(0, 0, 0, 0.2);
      /*padding: 8px 12px;*/
      padding-left:15px;padding-right:10px;
      border-radius: 12px;
      border-left: 4px solid var(--gold);
      border-right: 4px solid var(--gold);
    }
    .ks-tagline p {
      font-size: 13px;
      font-weight: 300;
      color: white;
      line-height: 1.4;
    }
    .ks-tagline strong { font-weight: 700; color: var(--gold); font-size: 14px; }

    .ks-features {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .ks-feature-card {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.1);
      border-radius: 10px;
      padding: 3px 10px;
      border: 1px solid rgba(197,160,40,0.2);
    }

    .ks-feature-card:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--gold);
            transform: translateX(5px);
        }


    .ks-feature-icon {
      width: 28px; height: 28px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(197,160,40,0.2);
    }
    .ks-feature-icon i { font-size: 16px; color: var(--gold); }
    .ks-feature-text h4 { color: white; font-size: 11px; font-weight: 700; margin-bottom: 2px; }
    .ks-feature-text p { color: rgba(255,255,255,0.95); font-size: 9px; line-height: 1.2; }

    .ks-quote {
      padding: 8px 12px;
      background: rgba(0,0,0,0.25);
      border-radius: 10px;
      border-left: 4px solid var(--gold);
      border-right: 4px solid var(--gold);
      margin-top: 2px;
    }
    .ks-quote i { color: var(--gold); font-size: 14px; margin-right: 4px; vertical-align: middle; }
    .ks-quote p { color: white; font-size: 12px; line-height: 1.3; font-style: italic; display: inline; }
    .ks-quote strong { color: var(--gold); font-size: 13px; }

    /* bottom empty – just flex end */
    .ks-content-bottom {
      flex: 1;
      min-height: 4px;
    }

    /* ===== RIGHT PANEL – COMPACT, NO OVERLAP ===== */
    .ks-right {
      flex: 1.2 1 360px;
      background: white;
      padding: 22px 20px 20px 20px;
    }

    /* tabs smaller */
    .ks-tabs {
      display: flex;
      gap: 6px;
      margin-bottom: 16px;
      background: var(--gray-light);
      padding: 4px;
      /*border-radius: 40px;*/
    }
    .ks-tab { flex: 1; list-style: none; }

    
    .ks-tab a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      padding: 7px 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      border-radius: 10px;
      color: var(--text-light);
      transition: 0.2s;
    }
    .ks-tab a:hover {
            background: var(--tab-hover);
            color: var(--primary);
            transform: translateY(-1px);
        }

        .ks-tab a:hover i {
            color: var(--primary);
            transform: scale(1.1);
        }
    .ks-tab a.ks-active {
      background: var(--primary);
      color: white;
      box-shadow: 0 3px 8px rgba(27,94,32,0.2);
    }
    .ks-tab a.ks-active i { color: white; }
    .ks-tab i { font-size: 16px; color: var(--primary); }

    /* form rows compact */
    .ks-row {
      display: flex;
      gap: 8px;
    
      flex-wrap: wrap;
    }
    .ks-field {
      flex: 1 1 140px;
    }
    .ks-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-light);
      margin-bottom: 3px;
      letter-spacing: 0.2px;
      text-transform: uppercase;
    }
    .ks-input {
      display: flex;
      align-items: center;
      gap: 4px;
      background: var(--gray-light);
      border: 1.5px solid var(--gray);
      border-radius: 10px;
      padding: 0 8px;
      transition: 0.2s;
      height: 40px;
      font-family: Verdana;
    }
    .ks-input:focus-within {
      border-color: var(--primary);
      background: white;
      box-shadow: 0 2px 8px rgba(27,94,32,0.1);
    }
    .ks-input i {
      color: var(--primary);
      font-size: 16px;
      min-width: 18px;
    }
    .ks-country, .ks-dob {
      background: white;
      padding: 4px 6px;
      border-radius: 6px;
      font-weight: 600;
      color: var(--primary);
      font-size: 11px;
      border: 1px solid var(--gray);
      white-space: nowrap;
    }
    .ks-input input {
      flex: 1;
      border: none;
      background: transparent;
      font-size: 13.5px;
      outline: none;
      height: 38px;
      min-width: 0;
      font-family: verdana;
    }
    .ks-input input::placeholder { font-size: 11px; color: #adb5bd; }

    /* error */
    .ks-error {
      display: flex;
      align-items: center;
      gap: 6px;
      background: var(--error-bg);
      border: 1px solid var(--error);
      color: var(--error);
      padding: 7px 10px;
      border-radius: 8px;
      margin: 8px 0;
      font-size: 12px;
    }
    .ks-error i { font-size: 18px; }

     /* Container for warning box only */
        .warning-container {
            max-width: 500px;
            width: 100%;
        }

        /* ========= WARNING BOX - ORANGE COLOR ========= */
        .ks-warning {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            background: #FFF8F0;
            border: 1px solid #FFB347;
             
            border-radius: 12px;
            padding: 10px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(255, 140, 0, 0.08);
        }

        /* Left side - error icon */
        .ks-warning i {
            font-size: 26px;
            color: #FF8C00;
            flex-shrink: 0;
            margin-top: 10px;
        }

        /* Text content with bullet points */
        .ks-warning span {
            flex: 1;
            font-size: 13px;
            font-weight: 500;
            color: #B85C00;
            line-height: 1.6;
        }

        .ks-warning b {
            font-weight: 700;
            color: #E67E22;
        }

       

    /* next button compact */
    .ks-next {
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin: 8px 0 8px;
      transition: 0.2s;
      box-shadow: 0 4px 10px rgba(27,94,32,0.2);
       
    }
    .ks-next i { font-size: 16px;margin-left:50px;}

     .ks-next:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(27,94,32,0.3);
        }

    .ks-divider {
      text-align: center;
      position: relative;
      margin: 8px 0;
    }
    .ks-divider::before, .ks-divider::after {
      content: '';
      position: absolute;
      top: 50%;
      width: calc(50% - 35px);
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }
    .ks-divider::before { left: 0; }
    .ks-divider::after { right: 0; }
    .ks-divider span {
      background: white;
      padding: 0 8px;
      color: var(--primary);
      font-weight: 600;
      font-size: 12px;
    }

    /* Google Button */
        /*.ks-google {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 90%;
            padding: 10px 12px;
            background: #3a5b1124;
            border: 1.5px solid #dadce0;
            border-radius: 40px;
            text-decoration: none;
            transition: all 0.3s ease;
            margin-bottom: 15px;
            position: relative;
            overflow: hidden;
            z-index: 0;
        }

        .ks-google::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(66, 133, 244, 0.1);
            transform: translate(-50%, -50%);
            transition: width 0.5s, height 0.5s;
            z-index: 1;
            cursor: pointer;
        }

        .ks-google:hover::before {
            width: 250px;
            height: 250px;
        }

        .ks-google:hover {
            border-color: var(--google-blue);
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(66, 133, 244, 0.2);
        }

        .ks-google-icon {
            position: relative;
            z-index: 2;
        }

        .ks-google-icon svg {
            width: 20px;
            height: 20px;
            transition: transform 0.3s ease;
        }

        .ks-google:hover .ks-google-icon svg {
            transform: rotate(8deg) scale(1.1);
        }

        .ks-google span {
            position: relative;
            z-index: 2;
            font-weight: 500;
            font-size: 13.5px;
            color: #3c4043;
            transition: color 0.3s ease;
        }

        .ks-google:hover span {
            color: var(--google-blue);
        }*/

  .ks-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 90%;
    padding: 10px 12px;
    background: #3a5b1124;
    border: 1.5px solid #dadce0;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.ks-google::before {
    content: '';
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 50%);
    width: 0;
    height: 0;
    border-radius: 40px; /* Match button border radius */
    background: rgba(58, 91, 17, 0.15); /* Green color matching KM Sativa (#3a5b11) */
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.ks-google:hover::before {
    width: 100%;
    height: 100%;
}

.ks-google:hover {
    border-color: #3a5b11; /* Green border on hover */
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(58, 91, 17, 0.2); /* Green shadow */
}

.ks-google-icon {
    position: relative;
    z-index: 2;
}

.ks-google-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.ks-google:hover .ks-google-icon svg {
    transform: rotate(8deg) scale(1.1);
}

.ks-google span {
    position: relative;
    z-index: 2;
    font-weight: 500;
    font-size: 13.5px;
    color: #3c4043;
    transition: color 0.3s ease;
}

.ks-google:hover span {
    color: #3a5b11; /* Green text on hover */
     
}
 

    .ks-signin {
      text-align: center;
      margin: 6px 0 4px;
      font-size: 13px;
      color: var(--text-light);
    }
    .ks-signin a {
      color: var(--primary);
      font-weight: 600;
      text-decoration: none;
      border-bottom: 1px solid var(--gold);
    }

     .ks-signin a:hover {
            color: var(--primary-dark);
            border-bottom-color: var(--primary);
        }


    .ks-footer {
      text-align: center;
      color: var(--text-light);
      font-size: 11px;
      line-height: 1.3;
    }
    .ks-footer p:first-child { color: var(--primary); font-weight: 600; font-size: 11px; }

    /* ===== ensure no overlap / compact on mobile ===== */
    @media (max-width: 700px) {
      .ks-split { flex-direction: column; }
      .ks-left { border-radius: 0 0 24px 24px; }
      .ks-ring-container { width: 130px; height: 130px; }
      .ks-logo-icon { width: 105px; height: 105px; }
      .ks-logo-icon img { width: 85px; height: 85px; }
      .ks-logo-text h1 { font-size: 22px; }
      .ks-logo-text h1 span { font-size: 24px; }
      .ks-tagline p { font-size: 11px; }
    }

    /* extra small */
    @media (max-width: 400px) {
      .ks-row { flex-direction: column; gap: 10px; }
      .ks-left { padding: 15px 10px; }
    }

    /* tiny fallback */
    img[src=""] { display: none; }


     /* Form Title */
        .ks-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 20px;
            padding-bottom: 5px;
            border-bottom: 2px solid var(--gold-light);
        }

        /* Form Fields */
        .ks-field {
            margin-bottom: 20px;
        }

          /* Sign Up Link */
        .ks-signup-link {
            text-align: center;
            margin-top: 25px;
            /*padding-top: 20px;*/
            border-top: 1px solid var(--gray);
        }

        .ks-signup-link p {
            font-size: 13px;
            color:#477b1f;
            margin-bottom: 10px;
        }

        .ks-signup-link a {
            color: var(--primary);
            font-weight: 700;
            font-size: 14px;
            text-decoration: none;
            border-bottom: 2px solid var(--gold);
            padding-bottom: 3px;
            transition: all 0.2s ease;
        }

        .ks-signup-link a:hover {
            color: var(--primary-dark);
            border-bottom-color: var(--primary);
        }

        /* Forgot Password Link */
        .ks-forgot {
            text-align: right;
            margin-top: 5px;
        }

        .ks-forgot a {
            color: var(--primary);
            font-size: 13px;
            text-decoration: none;
            font-weight: 500;
        }

        .ks-forgot a:hover {
            text-decoration: underline;
            color: var(--primary-dark);
        }

        /* Sign In Button */
        .ks-signin-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            
            transition: all 0.3s ease;
            box-shadow: 0 6px 15px rgba(27,94,32,0.25);
            width: 40%;
            justify-content: center;
        }

        .ks-signin-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(27,94,32,0.3);
        }

        .ks-signin-btn i {
            font-size: 20px;
        }


         .ks-label1 {
            font-size: 12px;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 6px;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }

        .ks-input1 {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--gray-light);
            border: 1.5px solid var(--gray);
            border-radius: 14px;
            padding: 0 15px;
            transition: all 0.3s ease;
            height: 40px;
            margin-top:15px;
            width:80%;
        }

        .ks-input1:focus-within {
            border-color: var(--primary);
            background: white;
            box-shadow: 0 4px 12px rgba(27,94,32,0.1);
        }

        .ks-input1 i {
            color: var(--primary);
            font-size: 20px;
            min-width: 24px;
        }

        .ks-input1 input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 13.5px;
            outline: none;
            font-family: verdana;
        }

        .ks-input1 input::placeholder {
            color: #adb5bd;
            font-size: 14px;
        }

        /* Error Message */
        .ks-error1 {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            background: var(--error-bg);
            border: 1px solid var(--error);
            border-radius: 12px;
            padding: 8px;
            margin: 15px 0;
        }

        .ks-error1 i {
            color: var(--error);
            font-size: 20px;
        }

        .ks-error-content1 {
            flex: 1;
        }

        .ks-error-item1 {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 8px;
            color: var(--error);
            font-size: 13px;
        }

        .ks-error-item1:last-child {
            margin-bottom: 0;
        }

        .ks-error-item1 i {
            font-size: 18px;
        }

        .ks-error-item1.green {
            color: var(--primary);
        }

        
        
        /* Divider */
        .ks-divider1 {
            text-align: center;
            position: relative;
            margin: 20px 0;
        }

        .ks-divider1::before,
        .ks-divider1::after {
            content: '';
            position: absolute;
            top: 50%;
            width: calc(50% - 45px);
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
        }

        .ks-divider1::before { left: 0; }
        .ks-divider1::after { right: 0; }

        .ks-divider1 span {
            background: white;
            padding: 0 15px;
            color: var(--primary);
            font-weight: 600;
            font-size: 13px;
            text-transform: uppercase;
        }

        /* Google Button */
        .ks-google1 {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 90%;
            padding: 10px 12px;
            background:#3a5b1124;
            border: 1.5px solid #dadce0;
            border-radius: 15px;
            text-decoration: none;
            transition: all 0.3s ease;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
             z-index: 0;
        }

        .ks-google1::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50px; /* Match button border radius */
            background: rgba(58, 91, 17, 0.15); /* Green color matching KM Sativa (#3a5b11) */
            transform: translate(-50%, -50%);
            transition: width 0.5s, height 0.5s;
            z-index: 1;
        }

        .ks-google1:hover::before {
            width: 100%;
              height: 100%;
        }

        .ks-google1:hover {
            border-color: #3a5b11; /* Green border on hover */
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(58, 91, 17, 0.2); /* Green shadow */
        }

        .ks-google-icon1 {
            position: relative;
            z-index: 2;
        }

        .ks-google-icon1 svg {
            width: 22px;
            height: 22px;
            transition: transform 0.3s ease;
        }

        .ks-google1:hover .ks-google-icon svg {
            transform: rotate(8deg) scale(1.1);
        }

        .ks-google1 span {
            position: relative;
            z-index: 2;
            font-weight: 500;
            font-size: 13.5px;
             color: #3c4043;
            transition: color 0.3s ease;
        }

        .ks-google1:hover span {
             color: #3a5b11; /* Green text on hover */
        }

    /* =========================================== */
/* SLOW BLINK - 5 TIMES SMOOTH & RELAXED      */
/* =========================================== */
@keyframes slowSmoothBlink {
    0% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(58, 91, 17, 0);
        border-color: #dadce0;
    }
    25% {
        opacity: 1;
        box-shadow: 0 0 0 5px rgba(58, 91, 17, 0.25);
        border-color: #3a5b11;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 0 2px rgba(58, 91, 17, 0.1);
        border-color: #dadce0;
    }
    75% {
        opacity: 1;
        box-shadow: 0 0 0 5px rgba(58, 91, 17, 0.25);
        border-color: #3a5b11;
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(58, 91, 17, 0);
        border-color: #3a5b11;
    }
}


           .ks-country-code {
            background: white;
            padding: 6px 12px;
            border-radius: 8px;
            font-weight: 600;
            color: var(--primary);
            font-size: 14px;
            border: 1px solid var(--gray);
        }



/* OTP Verification */
/* ===== COMPACT OTP SCREEN - FIXED HEIGHT ===== */
 
/* OTP Content - Flex Column */
.ks-otp-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Email Animation - Compact */
/*.ks-email-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px 0 10px;
}

.ks-envelope-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-envelope {
    position: relative;
    width: 52px;
    height: 40px;
    background: linear-gradient(145deg, var(--primary), #1a4701);
    border-radius: 6px 6px 3px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(34, 89, 2, 0.25);
    animation: envelopeFloat 2s ease-in-out infinite;
}

@keyframes envelopeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.ks-envelope-icon {
    color: var(--gold) !important;
    font-size: 26px !important;
}

.ks-envelope-line {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(145deg, var(--primary-light), var(--primary));
    border-radius: 3px 3px 0 0;
    animation: envelopeOpen 2s ease-in-out infinite;
}

@keyframes envelopeOpen {
    0%, 100% { transform: rotateX(0); }
    50% { transform: rotateX(15deg); }
}

.ks-paper-plane {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: planeFly 2s ease-in-out infinite;
    box-shadow: 0 4px 8px rgba(197, 160, 40, 0.3);
}

@keyframes planeFly {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(4px, -6px) rotate(8deg); }
    50% { transform: translate(8px, -12px) rotate(15deg); }
    75% { transform: translate(4px, -6px) rotate(8deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.ks-paper-plane i {
    color: white !important;
    font-size: 14px !important;
    transform: rotate(-20deg);
}

.ks-dots {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.ks-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.ks-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: var(--primary-light);
}

.ks-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--primary);
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}*/

/* Header - Compact */
.ks-otp-header {
    text-align: center;
    margin-bottom: 15px;
}

.ks-otp-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e2b1c;
    margin-bottom: 8px;
}

.ks-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f7f0;
    padding: 5px 14px 5px 10px;
    border-radius: 40px;
    border: 1px solid var(--gold-light);
    margin-top: 5px;
}

.ks-email-badge i {
    color: var(--primary);
    font-size: 16px;
}

.ks-email-badge span {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 500;
}

.ks-otp-header p {
    font-size: 13px;
    color: #6a6a6a;
    margin: 0;
}

/* OTP Fields - Compact */
.ks-otp-fields {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}

.ks-otp-input {
    width: 42px;
    height: 52px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    outline: none;
    transition: all 0.2s;
}

.ks-otp-input:focus {
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 160, 40, 0.15);
}

/* Timer - Compact */
.ks-otp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #5a5a5a;
    font-size: 13px;
    margin-bottom: 12px;
    background: #f9f9f9;
   
    border-radius: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.ks-otp-timer i {
    color: var(--gold);
    font-size: 16px;
}

.ks-otp-timer span {
    font-weight: 600;
    color: var(--primary);
    min-width: 40px;
}

/* Error - Compact */
.ks-otp-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #fee9e9;
    border: 1px solid #ffb3b3;
    border-radius: 30px;
    padding: 6px 14px;
    margin-bottom: 12px;
    color: #d32f2f;
    font-size: 13px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.ks-otp-error i {
    color: #d32f2f;
    font-size: 18px;
}

/* Verify Button - Center of Screen */
.ks-otp-verify {
    width: 350px;
     
    background: linear-gradient(145deg, var(--primary), #1c591c);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto; /* Auto margins - centers horizontally */
    transition: all 0.3s;
    box-shadow: 0 6px 14px rgba(34, 89, 2, 0.2);
    border: 1px solid var(--gold-light);
    text-align: center;
    position: relative;
    left: 0;
    right: 0;
}

.ks-otp-verify i {
    font-size: 20px;
    transition: transform 0.3s;
}

.ks-otp-verify:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(34, 89, 2, 0.25);
}

.ks-otp-verify:hover i {
    transform: translateX(5px);
}

/* Container to help with centering */
.ks-otp-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; /* Centers child elements horizontally */
    width: 100%;
}

/* Button wrapper for absolute centering */
.ks-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

/* Resend - Compact */
.ks-otp-resend {
    text-align: center;
    font-size: 13px;
    color: #666;
    padding: 3px 0;
}

.ks-resend-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-bottom: 1px solid var(--gold-light);
    padding-bottom: 1px;
}

.ks-resend-link i {
    font-size: 15px;
}

.ks-resend-link:hover i {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

/* Bottom Back Button - Compact */
.ks-otp-bottom {
    margin-top: 8px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.ks-otp-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #888;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 30px;
    transition: all 0.2s;
    background: #f8f8f8;
}

.ks-otp-back i {
    font-size: 16px;
}

.ks-otp-back:hover {
    background: var(--primary);
    color: white;
}

/* Mobile Adjustments */
@media screen and (max-width: 480px) {
    .ks-right {
        padding: 15px 15px 12px 15px;
        min-height: 480px;
    }
    
    .ks-otp-input {
        width: 38px;
        height: 48px;
        font-size: 20px;
    }
    
    .ks-otp-fields {
        gap: 5px;
    }
    
    .ks-envelope-wrapper {
        width: 65px;
        height: 65px;
    }
    
    .ks-otp-header h2 {
        font-size: 18px;
    }
}

@media screen and (max-width: 360px) {
    .ks-otp-input {
        width: 35px;
        height: 45px;
        font-size: 18px;
    }
    
    .ks-otp-fields {
        gap: 4px;
    }
}

/* Mobile OTP Animation*/
/* Mobile OTP Animation - Same Color Scheme */
/* Mobile OTP Animation - Clean Version */
/* Mobile OTP Animation - Compact Size */
/*.ks-mobile-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.ks-mobile-wrapper {
    position: relative;
    width: 50px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-mobile-device {
    position: relative;
    width: 38px;
    height: 58px;
    background: linear-gradient(145deg, var(--primary), #1a4701);
    border-radius: 8px;
    padding: 5px 3px;
    box-shadow: 0 6px 10px rgba(34, 89, 2, 0.3);
    animation: devicePulse 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes devicePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.ks-status-bar {
    display: flex;
    justify-content: flex-end;
    padding: 0 2px;
    margin-bottom: 8px;
}

.ks-battery {
    width: 10px;
    height: 5px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    position: relative;
}

.ks-battery::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 1px;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.ks-notification {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
}

.ks-message-icon {
    color: var(--gold) !important;
    font-size: 14px !important;
    animation: iconPop 1.5s ease-in-out infinite;
}

@keyframes iconPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.ks-otp-indicator {
    display: flex;
    gap: 3px;
    justify-content: center;
}

.ks-otp-indicator .ks-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 1px;
    animation: otpSlide 1.5s ease-in-out infinite;
}

.ks-otp-indicator .ks-dot:nth-child(1) { animation-delay: 0s; }
.ks-otp-indicator .ks-dot:nth-child(2) { animation-delay: 0.2s; }
.ks-otp-indicator .ks-dot:nth-child(3) { animation-delay: 0.4s; }
.ks-otp-indicator .ks-dot:nth-child(4) { animation-delay: 0.6s; }

@keyframes otpSlide {
    0%, 100% { 
        transform: translateY(0) scale(1);
        background: var(--gold);
    }
    50% { 
        transform: translateY(-2px) scale(1.2);
        background: var(--primary-light);
    }
}

.ks-home-indicator {
    width: 14px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    margin: 5px auto 0;
    opacity: 0.6;
    animation: homeGlow 2s ease-in-out infinite;
}

@keyframes homeGlow {
    0%, 100% { opacity: 0.4; width: 14px; }
    50% { opacity: 0.8; width: 18px; background: var(--primary-light); }
}

.ks-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 65px;
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    animation: pulseRing 2s ease-out infinite;
    opacity: 0;
    z-index: 1;
}

@keyframes pulseRing {
    0% {
        width: 38px;
        height: 58px;
        opacity: 0.5;
    }
    50% {
        width: 50px;
        height: 70px;
        opacity: 0.2;
        border-color: var(--primary-light);
    }
    100% {
        width: 55px;
        height: 75px;
        opacity: 0;
        border-color: var(--gold);
    }
}*/

.ks-error-box {
    background: #fef7f0;  /* Soft cream background */
    border-radius: 10px;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #f5e0cc;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* Error Row - Ultra Compact */
.ks-error-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ks-error-icon {
    color: #b85e2a !important;
    font-size: 18px !important;
    background: #fceae0;
    padding: 3px;
    border-radius: 50%;
}

.ks-error-text {
    color: #4d3a2c;
    font-size: 13.5px;
    line-height: 1.4;
}

.ks-email-highlight {
    background: #fce6d8;
    color: #b4541c;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 12.5px;
}

/* Pending Row - Simple Animation */
.ks-pending-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff2e5;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 8px;
    border: 1px solid #fad9b8;
}

.ks-pending-icon {
    color: #b96f32 !important;
    font-size: 16px !important;
    animation: rotate 2s linear infinite;
}

.ks-pending-text {
    color: #8f5a2e;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Contact Row - Minimal */
.ks-contact-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    background: #ffffff;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #f0e0d0;
}

.ks-contact-label {
    color: #6e5a48;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.8;
}

.ks-contact-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.ks-link {
    color: #3a6182;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 0;
}

.ks-link:hover {
    color: blue;
    text-decoration: underline;
}

.ks-separator {
    color: #dbbc9b;
    font-size: 12px;
}

/* Animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .ks-error-box {
        padding: 10px;
    }
    
    .ks-contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .ks-contact-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .ks-separator {
        display: none;
    }
}



/*Sign Pending Message*/
  /* CSS Code - Save as style.css */
/* CSS Code - Save as style.css */
.cx-card {
    max-width: 100%;
    margin: 0px auto;
    background: white;
    border-radius: 22px;
    padding: 10px;
    box-shadow: 6px 6px 6px rgb(255 0 0 / 5%);
    border: 1px solid #f0f0f0;
}

/* Header */
.cx-header {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fef2f2;
    padding: 10px 14px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.cx-icon {
    color: #dc2626;
    font-size: 25px;
}

.cx-title {
    font-weight: 600;
    font-size: 14px;
    color: #991b1b;
}

.cx-sub {
    font-size: 13px;
    color: #b91c1c;
}

/* Status Items */
.cx-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.cx-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
}

.cx-item-done {
    background: #f0fdf4;
}

.cx-item-pending {
    background: #fff7ed;
    animation: borderPulse 2s infinite;
}

.cx-item i {
    font-size: 18px;
    margin-right: 10px;
}

.cx-item-done i {
    color: #366c12;
}

.cx-item-pending i {
    color: #f97316;
}

.cx-label {
    flex: 1;
    font-weight: 500;
    color: #1e293b;
}

.cx-badge {
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
}

.cx-badge-green {
    background: #366c12;
    color: white;
}

.cx-badge-orange {
    background: #f97316;
    color: white;
}

/* Email Display */
.cx-email {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 40px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.cx-email i {
    font-size: 16px;
    color: #64748b;
}

/* Button */
.cx-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #db762f;
    color: white;
    text-decoration: none;
    padding: 7px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 13px;
    margin:0 auto;
    margin-bottom: 10px;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(249,115,22,0.2);
    width:80%
    
}

.cx-button:hover {
    background:darkgreen;
    gap: 12px;
}

/* Progress Steps Container */
.cx-steps-container {
    padding: 8px 0;
}

.cx-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Individual Step */
.cx-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 2px;
}

.cx-step i {
    font-size: 18px;
    background: white;
    padding: 0 2px;
}

.cx-step span {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
}

/* Step States */
.cx-step-active i {
    color: #366c12;
}

.cx-step-current i {
    color: #f97316;
}

.cx-step-current span {
    color: #f97316;
    font-weight: 600;
}

/* Connecting Lines */
.cx-step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 4px;
    position: relative;
    top: -10px;
    z-index: 1;
}

.cx-line-active {
    background: linear-gradient(90deg, #366c12 0%, #f97316 100%);
}

/* Animations */
@keyframes borderPulse {
    0%, 100% { border: 1px solid transparent; }
    50% { border: 1px solid #f97316; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.cx-pulse {
    animation: pulse 1.5s infinite;
}

/*Error Box*/
/* Compact Error Container */
        .error-compact1 {
            background: #fff8f8;
            /*border-left: 3px solid #e53e3e;*/
            border:1px solid #e53e3e;
            border-radius: 8px;
            padding: 10px 14px;
            width: 100%;
            max-width: 420px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        }

        /* Header with warning icon and heading */
        .error-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
            padding-bottom: 6px;
            border-bottom: 1px solid #f1c4c4;
        }

        .warning-icon {
            color: #c53030;
            font-size: 20px;
        }

        .error-title {
            font-size: 0.78rem;
            font-weight: 700;
            color: #c53030;
            letter-spacing: -0.2px;
        }

        /* Points List */
        .error-list {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-left: 2px;
        }

        /* Each Point Item */
        .point-item {
            display: flex;
            align-items: flex-start;
            gap: 6px;
            font-size: 0.775rem;
            line-height: 1.4;
        }

        .arrow-icon {
            font-size: 14px;
            flex-shrink: 0;
            margin-top: 1px;
        }

        /* Red color for first two points */
        .point-item.red {
            color: #dc2626;
        }

        .point-item.red .arrow-icon {
            color: #dc2626;
        }

        /* Green color for last point */
        .point-item.green {
            color: #2e7d32;
            font-weight: 500;
        }

        .point-item.green .arrow-icon {
            color: #2e7d32;
        }

        /* Sign UP Link */
        .signup-link {
            color: #2e7d32;
            font-weight: 700;
            text-decoration: none;
            border-bottom: 1px solid #81c784;
            transition: all 0.2s;
        }

        .signup-link:hover {
            border-bottom-color: #2e7d32;
            color: #1b5e20;
        }

     
        /* Block Message*/
        /* ----- OVERLAY (full screen background) ----- */
    .msg-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.65);        /* semi‑transparent dark overlay */
      backdrop-filter: blur(3px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    }

    /* ----- COMPACT CARD ----- */
    .msg-card {
      max-width: 540px;
      width: 90%;
      background: #fff;
      border-radius: 28px;
      box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.4);
      overflow: hidden;
      position: relative;
      transition: all 0.25s ease;
    }

    /* When the enquiry form is active (target #msg-split), we increase width to fit two columns */
    .msg-card:target {
      max-width: 760px;
    }

    /* main content wrapper – grid that switches between single‑column and two‑column */
    .msg-main {
      display: flex;
      flex-direction: column;
      transition: all 0.2s;
    }

    /* when target is active, switch to grid (left message, right form) */
    .msg-card:target .msg-main {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
    }

    /* left side (message area) */
    .msg-left {
      padding: 1.6rem 1.8rem;
      background: #fff;
    }

    /* right side (form area) – hidden by default, appears when target active */
    .msg-right {
      display: none;
      background: #f9fafb;
      border-left: 1px solid #e9ecef;
      padding: 1.6rem 1.8rem;
    }

    .msg-card:target .msg-right {
      display: block;
      animation: fadeSlide 0.25s ease;
    }

    @keyframes fadeSlide {
      from {
        opacity: 0;
        transform: translateX(10px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* close button (top‑right) */
    .msg-close {
      position: absolute;
      top: 16px;
      right: 20px;
      color: #6c757d;
      text-decoration: none;
      font-size: 26px;
      line-height: 1;
      transition: 0.2s;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .msg-close:hover {
      color: #dc3545;
      transform: scale(1.1);
    }

    /* header section (icon + title) */
    .msg-header {
      text-align: center;
      margin-bottom: 1.2rem;
    }

    .msg-icon {
      background: #dc2626;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 0.8rem;
      box-shadow: 0 6px 12px -5px rgba(220, 38, 38, 0.3);
    }
    .msg-icon i {
      font-size: 1.8rem;
      color: white;
    }

    .msg-header h2 {
      font-size: 1.4rem;
      font-weight: 700;
      color: #b91c1c;
      margin: 0 0 0.2rem;
    }

    .msg-status {
      display: inline-block;
      background: #fee2e2;
      padding: 0.2rem 0.9rem;
      border-radius: 40px;
      font-size: 0.7rem;
      font-weight: 600;
      color: #991b1b;
    }

    /* alert message */
    .msg-alert {
      background: #fef2f2;
      border-left: 4px solid #dc2626;
      border-radius: 1rem;
      padding: 0.8rem 1rem;
      margin-bottom: 1.4rem;
    }
    .msg-alert p {
      font-size: 0.85rem;
      line-height: 1.4;
      color: #2d3e50;
      margin: 0 0 0.4rem;
    }
    .msg-highlight {
      font-weight: 700;
      color: #b91c1c;
    }

    /* button row */
    .msg-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin: 1rem 0 0.2rem;
    }

    .msg-btn {
      flex: 1;
      text-align: center;
      padding: 0.65rem 0.5rem;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.85rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: 0.2s;
      cursor: pointer;
      border: none;
      background: none;
      font-family: inherit;
    }

    .msg-btn-ok {
      background: #1f2937;
      color: white;
    }
    .msg-btn-ok:hover {
      background: #111827;
      transform: translateY(-2px);
    }

    .msg-btn-enquiry {
      background: #f3f4f6;
      color: #1f2937;
      border: 1px solid #d1d5db;
    }
    .msg-btn-enquiry:hover {
      background: #e5e7eb;
      transform: translateY(-2px);
    }

    /* form styles */
    .msg-form-group {
      margin-bottom: 1rem;
    }
    .msg-form-group label {
      display: block;
      font-size: 0.75rem;
      font-weight: 600;
      margin-bottom: 0.3rem;
      color: #374151;
    }
    .msg-form-group input,
    .msg-form-group textarea {
      width: 100%;
      padding: 0.6rem 0.8rem;
      border: 1px solid #d1d5db;
      border-radius: 0.8rem;
      font-size: 0.8rem;
      font-family: inherit;
      background: white;
    }
    .msg-form-group input:focus,
    .msg-form-group textarea:focus {
      outline: none;
      border-color: #2563eb;
      box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
    }

    .msg-submit {
      background: #2563eb;
      color: white;
      border: none;
      width: 100%;
      padding: 0.65rem;
      border-radius: 2rem;
      font-weight: 600;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      cursor: pointer;
      transition: 0.2s;
      margin-top: 0.2rem;
    }
    .msg-submit:hover {
      background: #1d4ed8;
    }

    .msg-form-footer {
      margin-top: 1rem;
      font-size: 0.65rem;
      background: #eef2ff;
      padding: 0.4rem;
      border-radius: 2rem;
      text-align: center;
      color: #1e3a8a;
    }

    /* back link inside form (to close the right panel) */
    .msg-back-link {
      display: inline-block;
      margin-top: 0.8rem;
      text-align: center;
      font-size: 0.7rem;
      color: #2563eb;
      text-decoration: none;
    }
    .msg-back-link i {
      font-size: 0.7rem;
    }
    .msg-back-link:hover {
      text-decoration: underline;
    }

    /* responsive: on smaller screens, if split layout is active, revert to column */
    @media (max-width: 600px) {
      .msg-card:target .msg-main {
        grid-template-columns: 1fr;
      }
      .msg-card:target .msg-right {
        border-left: none;
        border-top: 1px solid #e9ecef;
      }
      .msg-card:target {
        max-width: 90%;
      }
    }