/* ==============================
   GENERAL
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif, Helvetica, 'Roboto', 'Inter', 'Open Sans', Tahoma, 'Geneva', Verdana;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(to right, #dff7f9, #e5ebfc);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

button,
input {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* HEADER & NAV */
.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 1850px;
    max-width: 1900px;
    height: 80px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(11, 60, 93, 0.08);
    z-index: 1000;
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-divider {
    width: 2px;
    height: 50px;
    background: #d1d5db;
}

/* header for other pages*/
.inside-vibe-header {
    width: 100%;
    height: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 280px;
    background: none;
    position: relative;
    z-index: 1000;
    
    flex-direction: row;
}

.header-line {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: 2px;
    background-color: #0f0353;
    margin: 20px 0px 0px 300px;
}

.btn-login-dark {
    background: #0f0353;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 0px;
    cursor: pointer;
    font-weight: 600;
}

.icon-arrow {
    width: 28px;
    height: 28px;
    display: block;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: none;
    border-radius: 8px;
    color: #0f0353;
    padding: 10px 16px;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    width: 240px;
    background: white;
    border-radius: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 14px 18px;
    color: #0f0353;
    text-decoration: none;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
}

.show {
    display: block;
}

body.dropdown-open .hero-section .overlay-card,
body.dropdown-open .page-content,
body.dropdown-open footer {
    filter: blur(7.5px);
    pointer-events: none;
    user-select: none;
    align-self:stretch;
}

body.dropdown-open .dropdown-menu {
    z-index: 1100;
    pointer-events: auto;
}

/* HERO SECTION */
.hero-section {
    background: url("../getstarted/refundhero.png") center center / cover no-repeat;
    color: white;
    min-height: 820px;
    padding: 24px;
    display: flex;
    align-items: center;
    align-self:stretch;
}

.hero {
    width: 100%;
}

.overlay-card {
    width: 500px;
    height: 300px;
    background: white;
    padding: 30px 35px 15px 42px;
    border-radius: none;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
    transform: translateX(300px);
}

.overlay-card h2 {
    font-family: 'Arvo', Rockwell, 'Courier New', serif;
    font-size: 30px;
    line-height: 1.05;
    margin-bottom: 18px;
    color: #0f2b4d;
}

.overlay-card p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 28px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    white-space: nowrap;
    min-width: 200px;
}

.primary,
.secondary,
.btn-login-dark,
.btn-link {
    transition: all 0.22s ease;
}

.primary {
    width: 200px;
    background: #ffffff;
    border: 2px solid #0f0353;
    color: #0f0353;
    font-size: 13px;
    padding: 14px 26px;
    border-radius: 0px;
    cursor: pointer;
    font-weight: 450;
}

.primary:hover {
    background:linear-gradient(to top, #bdbdbd, #ffffff);
}

.secondary {
    width: 200px;
    background: #7fc6ff;
    border: none;
    color: #0f0353;
    font-size: 13px;
    padding: 14px 26px;
    border-radius: 0px;
    cursor: pointer;
    font-weight: 700;
    size: 100px;
    font-weight: 450;
}

.secondary:hover {
    background:linear-gradient(to top, #83c2eb, #b0e0ff);
}

/* FORM CARD */
.form-card {
    background: white;
    color: #0f0353;
    padding: 32px;
    border-radius: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    margin: -60px auto 50px;
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.form-card h3 {
    font-family: 'Arvo', Rockwell, 'Courier New', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #002d62;
    margin: 0px 0px 0px 30px;
}

.form-card p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 24px;
    margin: 0px 0px 0px 30px;
}

.form-card form {
    display: grid;
    gap: 18px;
}

.form-group {
    position: relative;
    max-width: 500px;
    margin: 20px;
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.95rem;
    color: #64748b;
    pointer-events: none;
    background: white;
    padding: 0 6px;
    transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.form-group input {
    width: 100%;
    padding: 26px 16px 14px;
    border: 2px solid #d1d5db;
    border-radius: 14px;
    background: #f8fafb;
}

.form-group input:focus {
    outline: none;
    border-color: #0f0353;
    box-shadow: 0 0 0 4px rgba(13, 61, 116, 0.12);
    
    /* 1. The inner border */
    border: 2px solid #002244; 
    border-radius: 4px;
  
    /* 2. The outer border created using outline */
    outline: 2px solid #002244;
    outline-offset: 2px; /* Leaves a thin white gap between the two borders */
  
    transition: all 0.2s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    transform: translateY(-22px);
    font-size: 0.79rem;
    color: #0d3d74;
}

.form-group input::placeholder {
    color: transparent;
}

.helper-text {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.btn-submit,
.btn-link {
    width: 100%;
    padding: 18px 20px;
    border-radius: 0px;
    font-weight: 400;
}

.btn-submit {
    background: #83c2eb;
    border: none;
    color: #0f0353;
    cursor: pointer;
}

.btn-submit:hover {
    background:linear-gradient(to top, #83c2eb, #b0e0ff);
}

.btn-link {
    background: white;
    border: 2px solid #0f0353;
    color: #0f0353;
    cursor: pointer;
}

.btn-link:hover {
    background:linear-gradient(to top, #bdbdbd, #ffffff);
}

/* CONTENT SECTION */
.page-content {
    padding: 0 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.form-content {
    display: grid;
    gap: 48px;
    color: #333;
    padding: 32px;
    border-radius: none;
    margin: -60px auto 50px;
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.content-section {
    padding: 60px 0;
    max-width: 960px;
    margin: 0 auto;
}

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

.bg-light {
    background-color: #ebf3f9;
    border-radius: 24px;
    padding: 42px 32px;
}

.content-section h3 {
    font-family: 'Arvo', Rockwell, 'Courier New', serif;
    color: #002d62;
    margin-bottom: 18px;
    font-size: 2.2rem;
}

/* Form and button styles copied from main css for consistency */
.container {
    width: 100%;
    max-width: 500px;
    margin: 40px;
    padding: 30px 30px;
    background-color: rgb(248, 253, 255);
    border: 4px solid #0f0353;
    border-radius: 12px;
    display: inline-table;
    justify-content: center;
    align-items: center;
}


.container h3{
    text-align: center;
    margin-bottom: 20px;
}

.container .success-container {
    width: 100%;
    max-width: 500px;
    margin: 40px;
    padding: 30px 30px;
    background-color: rgb(248, 253, 255);
    border: 4px solid #0f0353;
    border-radius: 12px;
    display: inline-table;
    justify-content: center;
    align-items: center;
}

.container .success-icon{
    margin: 20px 0px 0px 190px;
    margin-bottom: 3px;
}

.container h2{
    text-align: center;
    margin-bottom: 5px;
}

.container p{
    text-align: center;
    margin-bottom: 5px;
}

.container h4{
    text-align: center;
    font-size: 17px;
    margin-bottom: 15px;
}
.form-container {
    width: 100%;
    max-width: 450px;
    min-width: 350px;
    margin: 0 auto;
    padding: 30px;
    background-color: transparent;
    border: 1px solid #190394;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px auto 30px auto;
}

.input-group-row {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}

.input-group-row input {
    flex: 1;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    font-size: 16px;
}

.btn {
    width: 45%;
    padding: 12px 18px;
    border: 2px solid #0f0353;
    background: none;
    color: rgb(5, 1, 41);
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    transition: 0.3s;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 5px auto 20px auto;
}

.form-message {
    display: none;
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.form-message.error { background: #fff2f2; color: #b42318; border: 1px solid #f5b7b1; display:block; }
.form-message.success { background: #f4fff7; color: #1f7a3d; border: 1px solid #b7e4c7; display:block; }

/* Toast notification */
.toast {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    top: 24px;
    background: #fff;
    color: #012;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: 9999;
    border: 1px solid rgba(2, 6, 23, 0.06);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #f4fff7; color: #0c4a2a; border-color: #b7e4c7; }
.toast.error { background: #fff2f2; color: #7a1a1a; border-color: #f5b7b1; }
.toast.info { background: white; color: #032; }

/* Disabled state for buttons */
.btn-submit:disabled,
.btn.disabled,
.btn-submit.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(10%);
}

.content-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    text-align: left;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
}

.partner-logo {
    width: 170px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: none;
    border-radius: 18px;
    
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}


/* FOOTER */
footer {
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    text-align: center;
    padding: 44px 30px;
    align-self:stretch;
}

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.footer-divider {
    color: #94a3b8;
}

.footer-links a {
    color: #334155;
    text-decoration: none;
}

.footer-logo {
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    width: 180px;
}

.footer-p {
    max-width: 840px;
    margin: 0 auto;
    color: #475569;
    line-height: 1.8;
}

.footer-p p {
    margin-top: 18px;
}

@media (max-width: 920px) {
    .hero-section {
        min-height: 720px;
        padding-top: 120px;
        align-self:stretch;
    }

    .overlay-card {
        padding: 32px;
    }

    .form-card {
        margin: -50px auto 40px;
        padding: 28px;
    }
}

@media (max-width: 680px) {
    .site-header {
        width: calc(100% - 24px);
        top: 12px;
    }

    .header-actions {
        flex-direction: column;
        align-items: flex-end;
    }

    .buttons {
        flex-direction: column;
    }

    .form-card,
    .content-section,
    .bg-light {
        padding: 24px;
    }

    .btn-login-dark,
    .dropdown-toggle,
    .primary,
    .secondary,
    .btn-link {
        width: 100%;
    }
}
