/*
Theme Name: BlueSeaAuto Classic
Author: Nik Solohub
Author URI: https://github.com/NikSolohub
Version: 1.0
License: Commercial
Text Domain: blueseauto
*/

/* -------- FONTS --------*/
@font-face {
    font-family: NotoSans-Regular;
    src: url("assets/fonts/NotoSans-Regular.woff2");
}

@font-face {
    font-family: NotoSans-SemiBold;
    src: url("assets/fonts/NotoSans-SemiBold.woff2");
}

@font-face {
    font-family: Montserrat-Regular;
    src: url("assets/fonts/Montserrat-Regular.woff2");
}

@font-face {
    font-family: Montserrat-SemiBold;
    src: url("assets/fonts/Montserrat-SemiBold.woff2");
}

@font-face {
    font-family: Montserrat-Light;
    src: url("assets/fonts/Montserrat-Light.woff2");
}

@font-face {
    font-family: Montserrat-Thin;
    src: url("assets/fonts/Montserrat-Thin.woff2");
}

@media screen and (min-width: 783px) {
    :root {
        font-size: 16px;
    }
}

@media screen and (max-width: 783px) {
    :root {
        font-size: 15px;
    }
}


@media screen and (min-width: 783px) {
    :root {
        font-size: 16px;
    }
}

@media screen and (max-width: 783px) {
    :root {
        font-size: 15px;
    }
}

/* ===============================================
   2. ROOT & VARIABLES
   =============================================== */

:root {
    font-family: Montserrat-Regular;
    color: var(--text-color-a);
    scroll-behavior: smooth;
    overflow-x: hidden;

    /* Brand Color Variables */
    --primary-color-a: #142340;
    --primary-color-b: #D4AF37;
    --primary-color-light: #f0e6c8;
    --text-color-a: #2c2c2c;
    --text-color-b: #1f7cc7;
    --border-color-a: #e0e0e0;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;

    /* Gradient Variables */
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #f4d467 50%, #D4AF37 100%);
    --gradient-blue: linear-gradient(135deg, #1f7cc7 0%, #4a9fd8 100%);
    --gradient-dark: linear-gradient(135deg, #142340 0%, #1e3555 100%);
    
    /* Button Gradient Variables */
    --special-button-gradient-a: #f5f5f5;
    --special-button-gradient-b: #e6c65f;
    --special-button-gradient-c: #D4AF37;

    /* Shadow Variables */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* -------- CSS RESET --------*/

body {
    margin: 0;
}

ol,
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

div, input, textarea{
    max-width: 100vw;
}

input,
textarea{
    border: 2px solid var(--border-color-a);
    font-size: 1.3em;
    padding: .5em .5em;
    border-radius: 10px;
}

input:focus,
textarea:focus{
    outline: none;
}

label{
    font-size: 1.1em;
}

/* -------- CUSTOM STD STYLES --------*/


/* -------- SPECIAL PROPERTIES --------*/

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* -------- WP ADMIN BAR STYLES --------*/

.admin-bar .top-bar {
    top: 0;
}


@media screen and (min-width: 783px) {
    .admin-bar .top-bar {
        top: 32px;
    }
}


/* -------- COMMON STYLES --------*/

@keyframes button_special_border_gradient {
    to {
        --angle: 360deg;
    }
}


.button.special {
    color: var(--text-color-a);
    background-color: #ffffff;
    font-family: Montserrat-SemiBold;
    font-size: 1.5em;
    padding: .9em 3em;
    transition: all .7s ease;
    border-radius: 34px;
}

.button.special::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 34px;
    border: 5px solid transparent;
    background: conic-gradient(from var(--angle), var(--special-button-gradient-a), var(--special-button-gradient-b), var(--special-button-gradient-c), var(--special-button-gradient-a)) border-box;
    mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: 3s button_special_border_gradient ease infinite;
}

.NotoSans {
    font-family: NotoSans-Regular;
}

.flex {
    display: flex;
}

.flex1{
    flex: 1;
}

.flex.row {
    flex-direction: row;
    flex-wrap: wrap;
}

.flex.column {
    flex-direction: column;
    flex-wrap: wrap;
}

.flex.centered {
    align-items: center;
    justify-content: center;
}

.flex.spacebetween {
    align-items: center;
    justify-content: space-between;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.button:hover {
    cursor: pointer;
}

.text-center {
    text-align: center;
}

.caps {
    text-transform: uppercase;
}

.sticky {
    position: sticky;
}

.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fit-content {
    width: fit-content;
    height: fit-content;
}

.mgbttm1em{
    margin-bottom: 1em;
}

/* ----- Top Bar ----- */

.top-bar {
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 4em;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-sm);
}

.top-bar .top-bar-wrap {
    width: 100%;
    padding: 0 5em;
    display: flex;
    align-items: center;
    gap: 2em;
}

@media (max-width: 768px) {
    .top-bar .top-bar-wrap {
        padding: 0 1em;
    }
}

.top-bar .top-bar-wrap .text-logo {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6em;
    font-family: NotoSans-SemiBold;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .top-bar .top-bar-wrap .text-logo {
        font-size: 1.5em;
    }
}

/* ----- Primary Navigation ----- */
.primary-nav {
    background-color: transparent;
}

.primary-nav .nav-menu {
    background-color: transparent;
}

.primary-nav .nav-menu li {
    display: inline-block;
    margin: 0 1.5em;
    position: relative;
}

.primary-nav .nav-menu li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.primary-nav .nav-menu li:hover::after {
    width: 100%;
}

.primary-nav .nav-menu li a {
    color: var(--primary-color-a);
    font-size: 1.05em;
    font-family: Montserrat-SemiBold;
}

.primary-nav .nav-menu li a:hover {
    color: var(--primary-color-b);
}

/* ----- Mobile Menu Toggle ----- */
.primary-nav .toggle-button {
    display: none;
    width: 2em;
    height: 2em;
    background-image: url("assets/images/menu.svg");
    background-size: contain;
    transition: transform 0.3s ease;
}

.primary-nav .toggle-button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .primary-nav .toggle-button {
        display: block;
    }

    .primary-nav .nav-menu {
        font-size: 1.2em;
        width: 100%;
        top: 100%;
        height: 100vh;
        display: none;
        position: absolute;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }

    .primary-nav .nav-menu li {
        display: inline-block;
        margin: 1em 0;
    }

    .primary-nav .nav-menu.expanded {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-items: center;
    }
}

.primary-nav .toggle-button.active {
    background-image: url("assets/images/close.svg");
}

.mlm-language-switcher{}

/* -------- HOMEPAGE BANNER --------*/

.homepage-top-banner {
    position: relative;
    width: 100%;
    height: 35em;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8em auto;
    background-color: rgb(255, 255, 255);
    background-image: url('assets/images/sadasdqw3e.png');
    background-repeat: no-repeat;
    background-size: 40% auto;
    background-position: center 80%;
    border-bottom: 1px solid var(--border-color-a);
}

@media screen and (max-width: 783px) {
    .homepage-top-banner {
        background-size: 80% auto;
        background-position: center 40%;
        height: 35em;
    }
}

.homepage-top-banner .homepage-top-banner-text-block {
    position: relative;
    color: var(--text-color-a);
    top: 2em;
}

@media screen and (max-width: 783px) {
    .homepage-top-banner .homepage-top-banner-text-block {
        top: 2em;
    }
}

.homepage-top-banner .homepage-top-banner-text-block .h1 {
    font-size: 5em;
    color: var(--text-color-b);
    font-family: NotoSans-Regular;
}

@media (max-width: 768px) {
    .homepage-top-banner .homepage-top-banner-text-block .h1 {
        font-size: 3.7em;
    }
}

.homepage-top-banner .homepage-top-banner-text-block .h2 {
    font-size: 2em;
    font-family: Montserrat-Light;
}

@media (max-width: 768px) {
    .homepage-top-banner .homepage-top-banner-text-block .h2 {
        font-size: 1.5em;
    }
}

.homepage-top-banner .homepage-top-banner-text-block .h3 {
    font-size: 1.5em;
}

.homepage-top-banner .homepage-top-banner-text-block>div:first-child {
    padding-top: 0;
    line-height: .8em;
}

@media screen and (max-width: 783px) {
    .homepage-top-banner .homepage-top-banner-text-block>div:first-child {}
}


/* -------- User request form short --------*/
.homepage-top-banner .homepage-top-banner-client-short-form{
    width: 40em;
    border: 2px solid var(--primary-color-b);
    border-radius: 20px;
    padding: 1em;
    background: #ffffff;
    position: relative;
    bottom: -7em;
}

    .homepage-top-banner .homepage-top-banner-client-short-form .input-group{
        flex-direction: raw;
    }

@media screen and (max-width: 783px) {
    .homepage-top-banner .homepage-top-banner-client-short-form{
        width: 20em;
    }
    .homepage-top-banner .homepage-top-banner-client-short-form .input-group{
        flex-direction: column;
    }
}

.homepage-top-banner .homepage-top-banner-client-short-form input.input{
    flex: 1;
    margin-bottom: .5em;
}

.homepage-top-banner .homepage-top-banner-client-short-form .button.special {
    bottom: 0em;
    margin: 0 auto;
    display: inline-block;
    --angle: 0deg;
    z-index: 100;
}


/* -------- HOMEPAGE SECTIONS --------*/


section.content-block {
    height: fit-content;
}


/* Section Title */
section.content-block:first-child {
    padding-top: 4em;
}

section.content-block .title.h1 {
    background-color: #ffffff;
    color: #3f3f3f;
    position: relative;
    font-size: 3em;
    padding: 1em 0;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
}

section.content-block .title>.subtitle {
    font-size: .4em;
    font-family: Montserrat-Light;
}

section.content-block .title.h1::after {
    content: "";
    position: absolute;
    bottom: 0.7em;
    height: 2px;
    width: 12em;
    background-image: linear-gradient(90deg, #ffffff, #222222, #ffffff);
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (max-width: 783px) {
    section.content-block .title.h1::after {
        width: 8em;
    }
}

/* Flex container */

section.content-block[data-content-title="why_we"] {
    background-color: #f5f5f5;
}

@media screen and (min-width: 783px) {
    section.content-block[data-content-title="why_we"] {
        height: 75vh;
    }
}

section.content-block[data-content-title="why_we"] .flex.row.centered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3em 5em;
    margin-bottom: 6em;
    position: relative;
}

/* Top Blocks (A–D) */
section.content-block[data-content-title="why_we"] .item {
    font-size: 1.4em;
    width: 18em;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color-a);
    border-radius: 12px;
    padding: 1em;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

@media screen and (max-width: 783px) {
    section.content-block[data-content-title="why_we"] .item {
        width: 12em;
        height: 6em;
    }
}

/* Bottom Block (O) */
section.content-block[data-content-title="why_we"] #why_we_o {
    font-size: 1.5em;
    width: 40em;
    min-height: 4em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    border-radius: 16px;
    border: 1px solid var(--primary-color-b);
    cursor: pointer;
    z-index: 1;
    position: relative;
    padding: 1em 2em;
    line-height: 1.4em;
}

@media screen and (max-width: 783px) {
    section.content-block[data-content-title="why_we"] #why_we_o {
        width: 12em;
        min-height: 8em;
    }
}

section.content-block[data-content-title="why_we"] #why_we_o>.button.special {
    font-size: 1em;
    bottom: -2em;
    z-index: 100;
}

/* SVG connectors behind blocks */
section.content-block[data-content-title="why_we"] {
    position: relative;
}

section.content-block[data-content-title="why_we"] .svg-lines {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

section.content-block[data-content-title="why_we"] .svg-dots {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Gold connectors */
section.content-block[data-content-title="why_we"] .connector {
    fill: none;
    stroke: var(--primary-color-b);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Gold dots */
section.content-block[data-content-title="why_we"] .dot {
    fill: var(--primary-color-b);
}


section.content-block[data-content-title="who_we_are"] {
    margin: 0 auto;
    height: 100vh;
    gap: 2em;
    background: url("assets/images/who_we_are_background.png"), rgba(0, 0, 0, 0.5);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: darken;
}

section.content-block[data-content-title="who_we_are"] .text-block.special {
    color: #ffffff;
    font-size: 1.7em;
    max-width: 1400px;
    display: block;
    text-wrap: wrap;
    font-family: Montserrat-Regular;
    margin: 3em auto;
    padding: 2em 3em;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

section.content-block[data-content-title="who_we_are"] .text-block.special b {
    background: var(--bg-white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1em;
    font-family: NotoSans-SemiBold;
    letter-spacing: -0.5px;
}

@media screen and (max-width: 783px) {
    section.content-block[data-content-title="who_we_are"] {
        height: fit-content;
        padding-bottom: 3em;
    }

    section.content-block[data-content-title="who_we_are"] .text-block.special {
        margin: 1em;
        padding: 1.5em;
        font-size: 1.3em;
    }
}

section.content-block[data-content-title="contacts"] {
    width: 100%;
}


.container {
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1em;
}

.container {
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2em;
}

/* ----- Contact Form ----- */
.contact-form {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 2.5em;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-form form {
    gap: 1.2em;
}

.contact-form > .title {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.contact-form,
.contact-info {
    width: 32em;
}

@media screen and (max-width: 783px) {
    .contact-form,
    .contact-info {
        width: 90vw;
    }

    .contact-form,
    .contact-info {
        padding: 0.5em;
    }
}

.contact-form h3,
.contact-info h3 {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    color: var(--primary-color-a);
    font-family: Montserrat-SemiBold;
}

/* ----- Input Fields ----- */
.contact-form input.w100,
.contact-form textarea.w100 {
    font-size: 1.3em;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    padding: 1em 1.2em;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.3s ease;
    font-family: Montserrat-Regular;
}

.contact-form textarea.w100 {
    resize: vertical;
    min-height: 120px;
}

/* ----- Checkbox ----- */
.contact-form .consent-label {
    display: flex;
    align-items: center;
    gap: 0.8em;
    font-size: 1em;
    cursor: pointer;
    user-select: none;
}

.contact-form .consent-label input[type="checkbox"] {
    width: 1.3em;
    height: 1.3em;
    cursor: pointer;
    accent-color: var(--primary-color-b);
}

/* ----- Submit Button ----- */
.contact-form button {
    width: 100%;
    height: 3.5em;
    font-size: 1.2em;
    font-family: Montserrat-SemiBold;
    background: var(--gradient-gold);
    border: none;
    color: var(--bg-white);
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:active {
    transform: translateY(0);
}

/* ----- Contact Info ----- */
.contact-info {
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.contact-info .social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-bottom: 2em;
}

.contact-info .social-buttons a {
    width: 100%;
    height: 3.5em;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-family: Montserrat-SemiBold;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.contact-info .social-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-info .social-buttons a > .social-button-img {
    width: 1.8em;
    height: 1.8em;
    background-size: cover;
    margin-right: 0.5em;
}

.contact-info .whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-info .whatsapp > .social-button-img {
    background-image: url("assets/images/uil_whatsapp.svg");
}

.contact-info .telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.contact-info .telegram > .social-button-img {
    background-image: url("assets/images/uil_telegram.svg");
}

.contact-info .instagram {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
}

.contact-info .instagram > .social-button-img {
    background-image: url("assets/images/uil_instagram.svg");
}

.contact-info .contact-details {
    text-align: center;
    margin-bottom: 2em;
    font-size: 1.4em;
    color: var(--primary-color-a);
    font-family: Montserrat-SemiBold;
    line-height: 1.8;
}

.contact-info .wholesale {
    font-size: 1.1em;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--primary-color-b);
    padding: 1.2em 1em;
    border-radius: 12px;
    color: var(--primary-color-a);
    font-family: Montserrat-SemiBold;
}


.scroll-down {
    position: absolute;
    left: 50%;
    display: block;
    text-align: center;
    font-size: 20px;
    z-index: 100;
    text-decoration: none;
    text-shadow: 0;
    width: 1.5em;
    height: 1.5em;
    border-bottom: 2px solid var(--primary-color-a);
    border-right: 2px solid var(--primary-color-a);
    z-index: 9;
    left: 50%;
    -webkit-transform: translate(-50%, 0%) rotate(45deg);
    -moz-transform: translate(-50%, 0%) rotate(45deg);
    transform: translate(-50%, 0%) rotate(45deg);
    -webkit-animation: fade_move_down 4s ease-in-out infinite;
    -moz-animation: fade_move_down 4s ease-in-out infinite;
    animation: fade_move_down 4s ease-in-out infinite;
}


/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
    0% {
        -webkit-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

@-moz-keyframes fade_move_down {
    0% {
        -moz-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -moz-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

@keyframes fade_move_down {
    0% {
        transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}



/* ------- FOOTER -------- */

.gl-footer {
    width: 100%;
    border-top: 1px solid var(--border-color-a);
    padding: 2em 0;
    margin-top: 5em;
}

.gl-footer>.gl-footer-wrap {
    width: 90vw;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.gl-footer>.gl-footer-wrap .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.gl-footer>.gl-footer-wrap .nav-menu li {
    display: inline-block;
    margin: 0 2em;
}

.gl-footer>.gl-footer-wrap .nav-menu li a {
    color: var(--text-color-a);
    font-size: 1em;
    font-family: Montserrat-Light;
}

.gl-footer>.gl-footer-wrap .text-logo {
    color: var(--text-color-b);
    font-size: 1.4em;
    font-family: NotoSans-SemiBold;
}

@media screen and (max-width: 783px) {

    .gl-footer>.gl-footer-wrap {
        width: 99vw;
    }

    .gl-footer>.gl-footer-wrap {
        align-items: center;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }

    .gl-footer>.gl-footer-wrap .nav-menu {
        align-items: center;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1em;
        margin-bottom: 1em;
    }
}







/* --- SUCCESS MODAL ----- */


 /* Modal background */
    .success-modal {
      display: none; /* Hidden by default */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.5);
      padding: 10px; /* Ensures spacing on very small screens */
    }

    /* Modal content */
    .success-modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border-radius: 12px;
      max-width: 400px;
      width: 100%;
      text-align: center;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
      animation: fadeIn 0.3s ease;
    }

    /* Title */
    .success-modal-title {
      font-size: 1.25rem;
      font-weight: bold;
      margin-bottom: 10px;
    }

    /* Message */
    .success-modal-message {
      margin-bottom: 20px;
      font-size: 1rem;
      line-height: 1.4;
    }

    /* OK Button */
    .success-modal-button {
      padding: 10px 20px;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 1rem;
      width: 100%; /* full width on mobile */
      max-width: 200px;
    }

    .success-modal-button:hover {
      background-color: #45a049;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.9); }
      to { opacity: 1; transform: scale(1); }
    }

    /* Make sure modal content stays centered on small screens */
    @media (max-width: 480px) {
      .success-modal-content {
        padding: 16px;
      }
      .success-modal-title {
        font-size: 1.1rem;
      }
      .success-modal-message {
        font-size: 0.95rem;
      }
    }