/* ============================================
   GROW PAGE — FROSTED GLASS CIVIC MEMBRANE
   Palette derived from your real photograph:
   Sky Blue:      #AFCBEF
   Amber Needles: #C47A3A
   Live Needles:  #6FAF6E
   Pine Bark:     #5A4A3A
   ============================================ */

/* GLOBAL RESET */
body.grow-page {
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;
    background-image: url('/static/images/growing-tree-1-image.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #5A4A3A; /* pine bark */
    overflow: hidden;
    z-index: 0;
}

/* SKY-TINT OVERLAY */
.grow-fade-bg {
    position: fixed;
    inset: 0;
    background: rgba(175, 203, 239, 0.35); /* sky blue tint */
    backdrop-filter: blur(1px);
    z-index: 1;
}

@keyframes fadeInBg {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* CENTERING LAYER */
.grow-overlay {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* FROSTED GLASS PANEL */
.grow-box {
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(90, 74, 58, 0.25); /* pine bark shadow */
    border: 1px solid rgba(175, 203, 239, 0.35); /* sky blue border */
    animation: fadeIn 0.8s ease-out;
    z-index: 3;
}

/* HEADINGS */
.grow-title {
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: #5A4A3A; /* pine bark */
}

.grow-subtext {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #5A4A3A;
}

/* LABELS */
.grow-label {
    display: block;
    margin: 18px 0 6px;
    font-weight: 600;
    color: #5A4A3A;
}

/* SELECTS */
.grow-select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(175, 203, 239, 0.55); /* sky blue */
    background: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    color: #5A4A3A;
    outline: none;
    transition: 0.2s ease;
}

.grow-select:focus {
    border-color: #6FAF6E; /* live needles */
    box-shadow: 0 0 0 3px rgba(111, 175, 110, 0.25);
}

/* CUSTOM INPUT */
.grow-input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(175, 203, 239, 0.55);
    background: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    color: #5A4A3A;
    outline: none;
    transition: 0.2s ease;
}

.grow-input:focus {
    border-color: #6FAF6E;
    box-shadow: 0 0 0 3px rgba(111, 175, 110, 0.25);
}

.hidden {
    display: none;
}

/* BUTTON — PRIMARY (COLOR OF MONEY) */
.grow-btn.primary {
    width: 100%;
    padding: 14px 26px;
    margin-top: 30px;
    font-size: 1.2rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: #6FAF6E; /* live needles */
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(111, 175, 110, 0.4);
    transition: 0.2s ease;
}

.grow-btn.primary:hover {
    background: #5C9A5B;
    box-shadow: 0 3px 10px rgba(111, 175, 110, 0.55);
}

/* MICRO-AMBER ACCENTS (OPTIONAL) */
.grow-box::after {
    pointer-events: none;
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: rgba(196, 122, 58, 0.45); /* amber needles */
    border-radius: 2px;
}

/* ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
