
/* --- global font defs --- */
html, body {
    font-family: var(--vnp-font-family, Montserrat, 'Open Sans', serif), serif;
    font-weight: var(--vnp-font-weight, 400);
    font-size: 0.95rem;
    line-height: 1.45;
    letter-spacing: 0.02em;
    height: 100%;
}

/* @see: buynow_border-html.ftl */
body nav {
    position: sticky;
    top: 0;
}

/* prevent screen behind modals from scrolling */
body.modal-open {
    height: 100vh;
    overflow-y: hidden;
}

/* --- global placeholder defs --- */
::placeholder {
    color: #464646 !important;
    opacity: 0.6 !important;
}

/* --- global anchor defs --- */
body a {
    color: #000000;
    font-weight: 350;
    letter-spacing: 0.035rem;
}
body a:focus, body a:hover {
    text-decoration: none;
    color: #ff397a;
}
a {
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
    color: inherit;
    text-decoration: none;
}
a:before {
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

/* Only apply the fallback pink hover color if another module hasn't specified one */
a:hover {
    color: var(--vnp-accent, #ff397a);
}

/* --- global list defs --- */
ul.a {
    list-style-type: circle;
}

/* --- global button defs --- */
button:focus {
    outline: none;             /* Removes the default navy ring */
    border: 1px solid #262626; /* Adds your custom color as a border instead */
}

/* --- global textarea defs --- */
textarea {
    width: 100%;
    min-height: 100px; /* Base height for short prompts */
    padding: 20px;

    /* Remove default styling */
    border: 1px solid #e0e0e0;
    outline: none;
    resize: none; /* Removes the bottom-right drag handle for a cleaner look */

    /* Modern Aesthetics */
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    background-color: #f8fcff;
    border-radius: 12px;
    transition: all 0.3s ease;
}
/* The Focus State: This is what makes it feel "Modern" */
textarea:focus {
    background-color: #fff;
    border-color: #e9e9e9;
    box-shadow: 0 0 0 4px rgba(233, 233, 233, 0.1);
}
/* Placeholder styling */
textarea::placeholder {
    color: #aaa;
    font-weight: 400;
}

/* --- trickery to detect mobile --- */
#mobile-indicator {
    display: none;
}
@media screen and (max-width: 500px) {
    #mobile-indicator {
        display: block;
    }
}

/* --- border defs --- */
.border-dashed { border: 1px dashed #e0e0e0; border-radius: 4.9px; }

/* Fix Input Group Alignment & Visual Flow */
.custom-input-group {
    display: flex;
    align-items: stretch;
}
.custom-input-group .input-group-text {
    background-color: #f3f4f6;
    border: 1px solid #ced4da;
    border-right: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    color: #555555;
    display: flex;
    align-items: center;
    padding: 1.1rem 0.85rem;
}
.custom-input-group .form-control {
    border-radius: 0 8px 8px 0;
    padding: 0.625rem 0.85rem;
    height: auto;
}
.custom-input-group .form-control:focus {
    box-shadow: none;
    border-color: #ff397a; /* Matches pink theme highlight */
}

