@import url('../vendor/fonts/montserrat-17oh1.css');

/* 🌱 Global Color Variables (Override in :root if needed) */
:root {
    --color-bg: #ffffff;
    --color-border: #ccc;
    --color-text: #2C3E50;
    --color-muted: #666;
    --color-primary: #404089;
    --color-primary-dark: #2d2d6a;
    --color-accent: #29B5A8;
    --color-accent-dark: #21968a;
    --color-error: #d9534f;
    --color-previous: transparent;
    --color-previous-hover: #555;
    --color-progress-line: #ccc;
    --color-progress-complete: var(--color-accent);
    --color-progress-circle-bg: #fff;
}


/* Fieldsets */
#createGroupWizard fieldset {
    background: var(--color-bg);
    border: 0;
    padding: 30px 30px;
    width: 100%;
    position: relative;
}

    #createGroupWizard fieldset:not(:first-of-type) {
        display: none;
    }

/* Inputs */
#createGroupWizard input[type="text"],
#createGroupWizard input[type="email"],
#createGroupWizard input[type="password"],
#createGroupWizard textarea,
#inviteBadgeContainer input {
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: .9rem;
    color: var(--color-text);
    width: 96%;
}

/* Buttons */
#submitGroup,
#createGroupWizard .action-button {
    width: 120px;
    background: var(--color-accent);
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 10px;
    margin: 20px 10px 0;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

    #createGroupWizard .action-button:hover,
    #createGroupWizard .action-button:focus {
        box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--color-accent);
        outline: none;
    }

/* Titles */
.fs-title {
    font-size: 16px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 12px;
}

.fs-subtitle {
    font-size: 13px;
    font-weight: normal;
    color: var(--color-muted);
    margin-bottom: 24px;
}

/* Progress bar */
#progressbar {
    margin-bottom: 20px;
    counter-reset: step;
    display: flex;
    justify-content: space-between;
    padding-left: 0;
}

    #progressbar li {
        list-style: none;
        color: #bbb;
        text-transform: uppercase;
        font-size: 10px;
        width: 33.33%;
        position: relative;
        text-align: center;
        vertical-align: middle;
    }

        #progressbar li:before {
            content: counter(step);
            counter-increment: step;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--color-progress-circle-bg);
            color: #333;
            border-radius: 3px;
            margin: 0 auto 11px;
            font-size: 14px;
            font-weight: bold;
            z-index: 1;
            position: relative;
        }

        #progressbar li:after {
            content: '';
            position: absolute;
            top: 18px;
            left: -50%;
            width: 100%;
            height: 2px;
            background: var(--color-progress-line);
            z-index: 0;
        }

        #progressbar li:first-child:after {
            content: none;
        }

        #progressbar li.active:before,
        #progressbar li.activated:before {
            background: var(--color-progress-complete);
            color: #fff;
        }

        #progressbar li.active:after,
        #progressbar li.activated:after {
            background: var(--color-progress-line);
        }

        #progressbar li.active:before {
            transform: scale(1.2);
            transition: all 0.3s ease-in-out;
            animation: bounceIn 0.2s ease-in-out;
            background: #1b968a;
        }

        #progressbar li span {
            color: #bbb;
            font-weight: 400;
            display: block;
            letter-spacing: 1px;
        }

        #progressbar li.active span {
            color: var(--color-text, #2C3E50);
            font-weight: 700;
            letter-spacing: 1px;
        }


@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Submit delay animation */
#createGroupWizard.submitting fieldset {
    opacity: 0.5;
    pointer-events: none;
}

/* Previous Button */
.form-wizard-previous-btn {
    background-color: var(--color-previous);
    color: #666;
    font-weight: 600;
    padding: 10px 24px;
    border: 2px solid var(--color-accent);
    border-radius: 4px;
    font-size: 15px;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .form-wizard-previous-btn:hover,
    .form-wizard-previous-btn:focus {
        background: var(--color-accent);
        box-shadow: 0 0 0 3px rgba(64, 64, 137, 0.2);
        outline: none;
        color: white;
    }

.form-wizard-next-btn i {
    font-size: .8rem;
}

/* Next Button */
.form-wizard-next-btn {
    background-color: var(--color-accent);
    color: #fff;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

    .form-wizard-next-btn:hover,
    .form-wizard-next-btn:focus {
        background-color: var(--color-accent-dark);
        box-shadow: 0 0 0 3px rgba(64, 64, 137, 0.2);
        outline: none;
    }

/* Error message */
.wizard-form-error {
    display: none;
    font-size: 13px;
    color: var(--color-error);
    margin-top: 3px;
    margin-bottom: 8px;
}

/* Fieldset show class */
.wizard-fieldset {
    display: none;
}

    .wizard-fieldset.show {
        display: block;
    }

.form-container {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

.form-left {
    flex: 0 0 70%;
    padding: 40px 30px;
    background: var(--color-bg);
}

.form-right {
    flex: 0 0 30%;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    background-image: url('../images/mic.jpg'); /* Example background image */
}

    .form-right::before {
        content: "";
        background: rgba(0, 0, 0, 0.4);
        position: absolute;
        inset: 0;
    }

.form-right-content {
    position: relative;
    z-index: 2;
}

.form-right h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.form-right p {
    font-size: 14px;
    line-height: 1.6;
}

/* Clean Autocomplete Dropdown */
.autocomplete-dropdown {
    background: white;
    border: 1px solid var(--color-border-light, #ccc);
    border-radius: 0px 0px 4px 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1050;
    padding: 0;
    width: 96%;
}

    /* Suggestion item base */
    .autocomplete-dropdown .list-group-item {
        padding: 10px 14px;
        font-size: 0.95rem;
        border: none;
        color: var(--c-text-primary, #333);
        background: transparent;
        transition: background-color 0.2s ease, color 0.2s ease;
        cursor: pointer;
    }

        /* Hover state */
        .autocomplete-dropdown .list-group-item:hover {
            background-color: var(--color-accent, #29B5A8);
            color: white;
        }

        /* Keyboard-selected item */
        .autocomplete-dropdown .list-group-item.active {
            background-color: var(--color-accent-dark, #21968a);
            color: white;
            font-weight: 600;
        }

        /* Optional icon/avatar styling (if any) */
        .autocomplete-dropdown .list-group-item img {
            width: 30px;
            height: 30px;
            object-fit: cover;
            border-radius: 50%;
            margin-right: 10px;
            vertical-align: middle;
        }


.club-type-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    margin-top: 40px;
}

    .club-type-group input[type="radio"] {
        display: none;
    }

.club-type-option {
    background: #fff;
    border: 2px solid var(--color-border-light, #e0e0e0);
    border-radius: 4px;
    padding: 20px;
    width: 130px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .club-type-option:hover {
        border-color: var(--color-accent, #29B5A8);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    }

.club-type-group input[type="radio"]:checked + .club-type-option {
    background-color: var(--color-accent, #29B5A8);
    color: white;
    border-color: var(--color-accent, #29B5A8);
}

.club-type-option i.material-icons {
    font-size: 2rem;
}

.club-type-disabled {
    background-color: #f8f9fa;
    color: #aaa;
    border-style: dashed;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.wizard-required.is-invalid {
    border-color: var(--color-error);
}
