﻿
.btn-theme {
    --btn-radius: 10px;
    --btn-padding: 0.6em 2em;
    --btn-font-size: 15px;
    --btn-font-weight: 600;
    /* CORE PALETTE */
    --color-aqua: #04826d;
    --color-blue: #3867d6;
    --color-violet: #9b59b6;
    --color-mehroon: #6d033e;
    --color-green: #16a085;
    --color-purple: #6d0368;
    --color-gold: #ffc048;
    --color-orange: #ff7300;
    /* EXTENDED PALETTE */
    --color-red: #eb1736;
    --color-pink: #fbe3e8;
    --color-coral: #ff7f50;
    --color-olive: #808000;
    --color-tan: #e4decd;
    --color-blonde: #c2b490;
    --color-silver: #c0c0c0;
    --color-lime: #00ff00;
    --color-forest: #228b22;
    --color-cyan: #00ffff;
    --color-mint: #f5fffa;
    --color-magenta: #ff00ff;
    --color-chocolate: #d2691e;
    --color-sky: #87ceeb;
    --color-indigo: #4b0082;
    --color-sand: #e1b382;
    --color-teal: #008080;
    --color-rose: #ffc0cb;
    --color-aquamarine: #7fffd4;
    --color-garnet: #781a44;
    --color-lemon: #fffacd;
    --color-amethyst: #5252d4;
}


    /* ---------- CORE BUTTON ---------- */
    .btn-theme .btn {
        display: inline-block;
        outline: none;
        cursor: pointer;
        font-weight: var(--btn-font-weight);
        font-size: var(--btn-font-size);
        border-radius: var(--btn-radius);
        padding: var(--btn-padding);
        border: none;
        transition: 0.2s all;
        font-family: inherit;
        user-select: none;
        position: relative;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none; /* Remove underline */
    }

    .btn-theme .btn--sm {
        padding: 0.35em 1.3em;
        font-size: 13px;
    }

    .btn-theme .btn--lg {
        padding: 1em 3em;
        font-size: 15px;
    }

    .btn-theme .btn--round {
        border-radius: 999px;
    }

    .btn-theme .btn--full {
        width: 100%;
        display: block;
    }

    /* ---------- COLOR VARIANTS ---------- */
    .btn-theme .btn--aqua {
        background: var(--color-aqua);
        color: #fff;
    }

    .btn-theme .btn.btn--blue {
        background: var(--color-blue);
        color: #fff;
    }

    .btn-theme .btn--violet {
        background: var(--color-violet);
        color: #fff;
    }

    .btn-theme .btn--mehroon {
        background: var(--color-mehroon);
        color: #fff;
    }

    .btn-theme .btn--green {
        background: var(--color-green);
        color: #fff;
    }

    .btn-theme .btn--purple {
        background: var(--color-purple);
        color: #fff;
    }

    .btn-theme .btn--gold {
        background: var(--color-gold);
        color: #845600;
    }

    .btn-theme .btn--orange {
        background: var(--color-orange);
        color: #fff;
    }

    .btn-theme .btn--aqua:hover {
        background: #036452;
    }

    .btn-theme .btn.btn--blue:hover {
        background: #27489b;
    }

    .btn-theme .btn--violet:hover {
        background: #8f43b8;
    }

    .btn-theme .btn--mehroon:hover {
        background: #5b012f;
    }

    .btn-theme .btn--green:hover {
        background: #178978;
    }

    .btn-theme .btn--purple:hover {
        background: #50024d;
    }

    .btn-theme .btn--gold:hover {
        background: #ffaa1e;
    }

    .btn-theme .btn--orange:hover {
        background: #c34800;
    }

    /* ---------- OUTLINE BUTTON ---------- */
    .btn-theme .btn--outline {
        background: none;
        border: 2px solid currentColor;
        color: inherit;
    }

        .btn-theme .btn--outline.btn--aqua {
            color: #04826d;
            border-color: #04826d;
        }

        .btn-theme .btn--outline.btn--blue {
            color: #3867d6;
            border-color: #3867d6;
        }

        .btn-theme .btn--outline.btn--violet {
            color: #9b59b6;
            border-color: #9b59b6;
        }

        .btn-theme .btn--outline.btn--mehroon {
            color: #6d033e;
            border-color: #6d033e;
        }

        .btn-theme .btn--outline.btn--green {
            color: #16a085;
            border-color: #16a085;
        }

        .btn-theme .btn--outline.btn--purple {
            color: #6d0368;
            border-color: #6d0368;
        }

        .btn-theme .btn--outline.btn--gold {
            color: #ffc048;
            border-color: #ffc048;
        }

        .btn-theme .btn--outline.btn--orange {
            color: #ff7300;
            border-color: #ff7300;
        }

        .btn-theme .btn--outline:hover {
            filter: brightness(0.8);
        }

    /* ---------- NEON BUTTON ---------- */
    .btn-theme .btn--neon {
        color: #fff;
        box-shadow: 0 0 8px 2px #fff, 0 0 16px 4px var(--btn-neon, #17f9ff);
        text-shadow: 0 0 6px var(--btn-neon, #17f9ff);
        position: relative;
        transition: box-shadow 0.2s;
    }

        .btn-theme .btn--neon.btn--aqua {
            --btn-neon: #17f9ff;
        }

        .btn-theme .btn--neon.btn--blue {
            --btn-neon: #3867d6;
        }

        .btn-theme .btn--neon.btn--violet {
            --btn-neon: #a649d6;
        }

        .btn-theme .btn--neon.btn--mehroon {
            --btn-neon: #f957a6;
        }

        .btn-theme .btn--neon.btn--green {
            --btn-neon: #00ffc3;
        }

        .btn-theme .btn--neon.btn--purple {
            --btn-neon: #d36dff;
        }

        .btn-theme .btn--neon.btn--gold {
            --btn-neon: #faf594;
        }

        .btn-theme .btn--neon.btn--orange {
            --btn-neon: #ffb157;
        }

        .btn-theme .btn--neon:hover {
            box-shadow: 0 0 32px 8px var(--btn-neon, #00fff1);
        }

    /* ---------- GRADIENT BUTTON ---------- */
    .btn-theme .btn--gradient {
        color: #fff;
        background: linear-gradient(90deg, #ff7300 0%, #3867d6 100%);
        border: none !important;
    }

        .btn-theme .btn--gradient.btn--aqua {
            background: linear-gradient(90deg, #04826d 0%, #32bbe6 100%);
        }

        .btn-theme .btn--gradient.btn--blue {
            background: linear-gradient(90deg, #3867d6 0%, #48a9fa 100%);
        }

        .btn-theme .btn--gradient.btn--violet {
            background: linear-gradient(90deg, #9b59b6 0%, #ff5ca1 100%);
        }

        .btn-theme .btn--gradient.btn--mehroon {
            background: linear-gradient(90deg, #6d033e 0%, #ff6493 100%);
        }

        .btn-theme .btn--gradient.btn--green {
            background: linear-gradient(90deg, #16a085 0%, #44ce41 100%);
        }

        .btn-theme .btn--gradient.btn--purple {
            background: linear-gradient(90deg, #6d0368 0%, #d36dff 100%);
        }

        .btn-theme .btn--gradient.btn--gold {
            background: linear-gradient(90deg, #ffc048 0%, #fff6a2 100%);
        }

        .btn-theme .btn--gradient.btn--orange {
            background: linear-gradient(90deg, #ff7300 0%, #fb9846 100%);
        }

        .btn-theme .btn--gradient:hover {
            filter: brightness(1.1) contrast(1.1);
        }

    /* ----------- GLASS BUTTON ------------ */
    .btn-theme .btn--glass {
        background: rgba(255, 255, 255, 0.11);
        color: #222;
        border: 2px solid rgba(255, 255, 255, 0.30);
        backdrop-filter: blur(7px);
        box-shadow: 0 1px 8px -3px #2223;
        font-weight: bold;
    }

        .btn-theme .btn--glass.btn--blue {
            color: #3867d6;
            border-color: #3867d6;
        }

        .btn-theme .btn--glass.btn--gold {
            color: #ffc048;
            border-color: #ffc048;
        }

        .btn-theme .btn--glass:hover {
            background: rgba(255, 255, 255, 0.28);
        }

    /* ------------ SHADOW BUTTON ------------ */
    .btn-theme .btn--shadow {
        box-shadow: 0 5px 22px -3px rgba(44, 44, 99, 0.2), 0 2px 8px 0 rgba(0, 0, 0, 0.10);
        background: #fff;
        color: #333;
    }

        .btn-theme .btn--shadow:active {
            box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
        }

    /* ------------- GHOST BUTTON -------------- */
    .btn-theme .btn--ghost {
        background: none;
        border: 2px dashed currentColor;
        color: inherit;
    }

        .btn-theme .btn--ghost:hover {
            background: #f7f7f7;
        }

    /* ------------- LIFT BUTTON -------------- */
    .btn-theme .btn--lift {
        background: #fff;
        color: #333;
        box-shadow: 0 2px 4px rgba(70, 84, 241, 0.06);
        border: 1px solid #eee;
        transform: translateY(0);
        transition: box-shadow 0.3s, transform 0.2s;
    }

        .btn-theme .btn--lift:active {
            box-shadow: 0 1px 2px rgba(70, 84, 241, 0.12);
            transform: translateY(2px);
        }

    /* ---------- ANIMATED HOVER BUTTONS ---------- */
    .btn-theme .btn--wiggle {
        animation: wiggle 2s infinite;
    }

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-2deg);
    }

    15%, 85% {
        transform: rotate(3deg);
    }

    30%, 70% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(8deg);
    }
}

.btn-theme .btn--bounce:hover {
    animation: bounce 0.5s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-1px);
    }
}

.btn-theme .btn--pulse {
    animation: pulse-btn 1.3s infinite;
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 226, 250, 0.7);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(0, 226, 250, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 226, 250, 0);
    }
}

/* ------------ BORDERED + INVERT EFFECTS ----------- */
.btn-theme .btn--bordered {
    background: transparent;
    border: 2px solid #4447;
    color: #222;
    text-shadow: none;
}

    .btn-theme .btn--bordered:hover {
        background: #4441;
        color: #000;
    }

/* ------------ MORPH Button ------------ */
.btn-theme .btn--morph {
    border-radius: 0.5em;
    transition: border-radius 0.4s;
}

    .btn-theme .btn--morph:hover {
        border-radius: 2em;
    }

/* ------------- LINK BUTTON -------------- */
.btn-theme .btn--link {
    background: none;
    border: none;
    color: var(--color-blue);
    padding: 0;
    text-decoration: underline;
    font-weight: 600;
}

/* -------------- INSET BUTTON -------------- */
.btn-theme .btn--inset {
    background: #f5f6f7;
    color: #282830;
    box-shadow: inset 2px 2px 8px 0px #189ea3ab;
    border: 1px solid #c1c6d2;
}

    .btn-theme .btn--inset:hover {
        background: #dde7ef;
    }

/* -------------- ICON BUTTON -------------- */
.btn-theme .btn--icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding-right: 1.5em;
    font-size: 17px;
}

/* ------ Utility ------ */
.btn-theme .btn--block {
    display: block;
    width: 100%;
}

/* Section titles */
.btn-theme .section-title {
    display: block;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    margin: 2.2rem 0 1.35rem 0;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-transform: uppercase;
    border-radius: 0.8em;
    padding: 0.7em 0;
    background: transparent;
    color: #222;
    box-shadow: none;
    border: none;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

/* Section title color accents */
.btn-theme .title--mehroon {
    color: #6d033e;
    background: #fbe1ea;
}

.btn-theme .title--aqua {
    color: #04826d;
    background: #daf7f2;
}

.btn-theme .title--blue {
    color: #3867d6;
    background: #e4efff;
}

.btn-theme .title--violet {
    color: #82047e;
    background: #f2e4fa;
}

.btn-theme .title--orange {
    color: #ff7300;
    background: #fff1e3;
}

/* Responsive spacing for mobile */
@media (max-width: 520px) {
    .btn-theme .section-title {
        font-size: 0.9rem;
        padding: 0.55em 0;
    }
}

/* Make all buttons same width, only 1 per row, with vertical spacing */
.btn-theme .btn-block {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 0.8em auto;
}

/* Section-specific button color (override as needed) */
.btn-theme .digital-cards .card-details:nth-of-type(1) .btn { /* Micro card buttons */
    background: var(--color-aqua);
}

.btn-theme .digital-cards .card-details:nth-of-type(2) .btn { /* Mini card buttons */
    background: var(--color-blue);
}

.btn-theme .digital-cards .card-details:nth-of-type(3) .btn { /* Premium card buttons */
    background: var(--color-violet);
}

.btn-theme .digital-cards > .btn--orange { /* Other cards buttons */
    background: var(--color-orange);
}

/* Optional button-hover effects - distinct for each as example */
.btn-theme .digital-cards .card-details:nth-of-type(1) .btn:hover {
    background: #036452;
}

.btn-theme .digital-cards .card-details:nth-of-type(2) .btn:hover {
    background: #27489b;
}

.btn-theme .digital-cards .card-details:nth-of-type(3) .btn:hover {
    background: #8f43b8;
}

.btn-theme .digital-cards > .btn--orange:hover {
    background: #c34800;
}

/* Ripple animation on .animation elements inside buttons */
.btn-theme .btn .animation {
    position: absolute;
    width: 1.2em;
    height: 1.2em;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100%;
    animation: ripple 0.6s linear infinite;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.25);
}

.btn-theme .btn .animation-left {
    left: 10px;
}

.btn-theme .btn .animation-right {
    right: 10px;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3), 0 0 0 10px rgba(255, 255, 255, 0.3), 0 0 0 20px rgba(255, 255, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0), 0 0 0 20px rgba(255, 255, 255, 0), 0 0 0 30px rgba(255, 255, 255, 0);
    }
}

.btn-size {
    width: 90%;
    margin: 0 auto 5%;
}

/* EXTENDED COLOR TITLE CLASSES */
.btn-theme .title--red {
    color: #eb1736;
    background: #ffe0e6;
}

    .btn-theme .title--red:hover {
        background: #ffd1da;
    }

.btn-theme .title--pink {
    color: #fbe3e8;
    background: #fa8fb9;
}

    .btn-theme .title--pink:hover {
        background: #ffbddb;
    }

.btn-theme .title--coral {
    color: #ff7f50;
    background: #fff2ec;
}

    .btn-theme .title--coral:hover {
        background: #ffd8c8;
    }

.btn-theme .title--olive {
    color: #808000;
    background: #ffffe0;
}

    .btn-theme .title--olive:hover {
        background: #f5f6ce;
    }

.btn-theme .title--tan {
    color: #e4decd;
    background: #fcf8e8;
}

    .btn-theme .title--tan:hover {
        background: #f0eac5;
    }

.btn-theme .title--blonde {
    color: #c2b490;
    background: #fff6ce;
}

    .btn-theme .title--blonde:hover {
        background: #f8ebba;
    }

.btn-theme .title--silver {
    color: #c0c0c0;
    background: #f5f5f5;
}

    .btn-theme .title--silver:hover {
        background: #ededed;
    }

.btn-theme .title--lime {
    color: #00ff00;
    background: #eaffea;
}

    .btn-theme .title--lime:hover {
        background: #cfffcd;
    }

.btn-theme .title--forest {
    color: #228b22;
    background: #e8fbe8;
}

    .btn-theme .title--forest:hover {
        background: #c6f4c6;
    }

.btn-theme .title--cyan {
    color: #00ffff;
    background: #e0ffff;
}

    .btn-theme .title--cyan:hover {
        background: #bcffff;
    }

.btn-theme .title--mint {
    color: #16a085;
    background: #e5fffa;
}

    .btn-theme .title--mint:hover {
        background: #c4fff3;
    }

.btn-theme .title--magenta {
    color: #ff00ff;
    background: #ffe0ff;
}

    .btn-theme .title--magenta:hover {
        background: #ffc8ff;
    }

.btn-theme .title--chocolate {
    color: #d2691e;
    background: #fcf2e6;
}

    .btn-theme .title--chocolate:hover {
        background: #f5e5d3;
    }

.btn-theme .title--sky {
    color: #87ceeb;
    background: #e1f7ff;
}

    .btn-theme .title--sky:hover {
        background: #b9ecfe;
    }

.btn-theme .title--indigo {
    color: #4b0082;
    background: #f2e8fc;
}

    .btn-theme .title--indigo:hover {
        background: #ecd7ff;
    }

.btn-theme .title--sand {
    color: #e1b382;
    background: #fff8ec;
}

    .btn-theme .title--sand:hover {
        background: #ffedcf;
    }

.btn-theme .title--teal {
    color: #008080;
    background: #e6ffff;
}

    .btn-theme .title--teal:hover {
        background: #b4ffff;
    }

.btn-theme .title--rose {
    color: #ffc0cb;
    background: #fff0f5;
}

    .btn-theme .title--rose:hover {
        background: #ffdee9;
    }

.btn-theme .title--aquamarine {
    color: #7fffd4;
    background: #e0fff9;
}

    .btn-theme .title--aquamarine:hover {
        background: #bcfff3;
    }

.btn-theme .title--garnet {
    color: #781a44;
    background: #fce8f1;
}

    .btn-theme .title--garnet:hover {
        background: #ffd6ee;
    }

.btn-theme .title--lemon {
    color: #fffacd;
    background: #ffffe1;
}

    .btn-theme .title--lemon:hover {
        background: #fcffd0;
    }

.btn-theme .title--amethyst {
    color: #5252d4;
    background: #e4e4fa;
}

    .btn-theme .title--amethyst:hover {
        background: #d3d3ff;
    }
.btn-theme .btn--red {
    background: #eb1736;
    color: #fff;
}

.btn-theme .btn--pink {
    background: #fbe3e8;
    color: #9b59b6;
}

.btn-theme .btn--coral {
    background: #ff7f50;
    color: #fff;
}

.btn-theme .btn--olive {
    background: #808000;
    color: #fff;
}

.btn-theme .btn--tan {
    background: #e4decd;
    color: #444;
}

.btn-theme .btn--blonde {
    background: #c2b490;
    color: #6d033e;
}

.btn-theme .btn--silver {
    background: #c0c0c0;
    color: #fff;
}

.btn-theme .btn--lime {
    background: #00ff00;
    color: #083003;
}

.btn-theme .btn--forest {
    background: #228b22;
    color: #fff;
}

.btn-theme .btn--cyan {
    background: #00ffff;
    color: #004050;
}

.btn-theme .btn--mint {
    background: #f5fffa;
    color: #16a085;
}

.btn-theme .btn--magenta {
    background: #ff00ff;
    color: #fff;
}

.btn-theme .btn--chocolate {
    background: #d2691e;
    color: #fff;
}

.btn-theme .btn--sky {
    background: #87ceeb;
    color: #015472;
}

.btn-theme .btn--indigo {
    background: #4b0082;
    color: #fff;
}

.btn-theme .btn--sand {
    background: #e1b382;
    color: #7a4a1a;
}

.btn-theme .btn--teal {
    background: #008080;
    color: #fff;
}

.btn-theme .btn--rose {
    background: #ffc0cb;
    color: #6d033e;
}

.btn-theme .btn--aquamarine {
    background: #7fffd4;
    color: #228b22;
}

.btn-theme .btn--garnet {
    background: #781a44;
    color: #fff;
}

.btn-theme .btn--lemon {
    background: #fffacd;
    color: #808000;
}

.btn-theme .btn--amethyst {
    background: #5252d4;
    color: #fff;
}

/* Matching hover style for buttons */
.btn-theme .btn--red:hover {
    background: #a60e26;
}

.btn-theme .btn--pink:hover {
    background: #ffbddb;
}

.btn-theme .btn--coral:hover {
    background: #e26a37;
}

.btn-theme .btn--olive:hover {
    background: #5f5f00;
}

.btn-theme .btn--tan:hover {
    background: #ece1b2;
}

.btn-theme .btn--blonde:hover {
    background: #f8ebba;
}

.btn-theme .btn--silver:hover {
    background: #a0a0a0;
}

.btn-theme .btn--lime:hover {
    background: #00cc00;
}

.btn-theme .btn--forest:hover {
    background: #18661a;
}

.btn-theme .btn--cyan:hover {
    background: #00cccc;
}

.btn-theme .btn--mint:hover {
    background: #d5fff3;
}

.btn-theme .btn--magenta:hover {
    background: #cc00cc;
}

.btn-theme .btn--chocolate:hover {
    background: #995213;
}

.btn-theme .btn--sky:hover {
    background: #65a8ce;
}

.btn-theme .btn--indigo:hover {
    background: #350061;
}

.btn-theme .btn--sand:hover {
    background: #ffedcf;
}

.btn-theme .btn--teal:hover {
    background: #005050;
}

.btn-theme .btn--rose:hover {
    background: #ffdee9;
}

.btn-theme .btn--aquamarine:hover {
    background: #62ccb0;
}

.btn-theme .btn--garnet:hover {
    background: #570f30;
}

.btn-theme .btn--lemon:hover {
    background: #f5f8bd;
}

.btn-theme .btn--amethyst:hover {
    background: #303090;
}
#submit-button {
    background: rgba(22, 160, 133, 0.8); /* Teal background with some transparency */
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75em 2.5em;
    border: 2px solid rgba(22, 160, 133, 0.9);
    border-radius: 25px;
    box-shadow: 0 0 12px 3px rgba(22, 160, 133, 0.55), 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
    margin: 1.5rem auto 0 auto;
    width: 80%;
    max-width: 350px;
}

    #submit-button:hover,
    #submit-button:focus {
        background: rgba(22, 160, 133, 1);
        border-color: #0e5c48;
        box-shadow: 0 0 18px 5px rgba(22, 160, 133, 0.85), 0 8px 25px rgba(0, 0, 0, 0.25);
        outline: none;
        transform: translateY(-3px);
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    }

    #submit-button:active {
        transform: translateY(1px);
        box-shadow: 0 0 8px 2px rgba(22, 160, 133, 0.55);
        background: rgba(22, 160, 133, 0.7);
    }

    /* Optional disabled state */
    #submit-button:disabled {
        background: rgba(22, 160, 133, 0.3);
        border-color: rgba(22, 160, 133, 0.3);
        color: #bbb;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
        text-shadow: none;
    }
