/* ── RESET & BASE ── */
:where(#app) *,
:where(#app) *::before,
:where(#app) *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#app {
    --bg: var(--cream);
    --card: var(--panel);
    --primary: var(--heart);
    --primary-dark: #C13F4A;
    --secondary: var(--sky);
    --accent: var(--gold);
    --text: var(--navy);
    --text-light: var(--body);
    --success: var(--forest);
    --shadow: var(--shadow-sm);
    --radius: var(--radius-lg);
    --radius-sm: var(--radius);
    --font: var(--font-body);
    --transition: 0.25s ease;
}


#app {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 20px 28px;
    position: relative;
    min-height: 92vh;
    max-height: 98vh;
    overflow-y: auto;
    transition: opacity 0.3s;
}

/* scrollbar */
#app::-webkit-scrollbar {
    width: 4px;
}
#app::-webkit-scrollbar-track {
    background: transparent;
}
#app::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 8px;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

h1 {
    font-size: 1.6rem;
    color: var(--text);
}
h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}
h3 {
    font-size: 1.25rem;
    color: var(--text);
}
.sub {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ── UTILITY ── */
.hidden {
    display: none !important;
}
.text-center {
    text-align: center;
}
.mt-1 {
    margin-top: 8px;
}
.mt-2 {
    margin-top: 16px;
}
.mt-3 {
    margin-top: 24px;
}
.mb-1 {
    margin-bottom: 8px;
}
.mb-2 {
    margin-bottom: 16px;
}
.gap-1 {
    gap: 8px;
}
.gap-2 {
    gap: 16px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 60px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    touch-action: manipulation;
    user-select: none;
    min-height: 54px;
    text-align: center;
    line-height: 1.2;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(247, 161, 196, 0.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 18px rgba(247, 161, 196, 0.45);
}

.btn-secondary {
    background: var(--secondary);
    color: #123B6D;
    box-shadow: 0 4px 12px rgba(168, 213, 226, 0.3);
}
.btn-secondary:hover {
    background: #1F62B0;
}

.btn-accent {
    background: var(--accent);
    color: #3d2c3b;
    box-shadow: 0 4px 12px rgba(249, 213, 110, 0.35);
}
.btn-accent:hover {
    background: #D99F2E;
}

.btn-success {
    background: var(--success);
    color: #123B6D;
    box-shadow: 0 4px 12px rgba(139, 201, 160, 0.35);
}
.btn-success:hover {
    background: #357A3A;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid #ddd6d0;
    box-shadow: none;
}
.btn-outline:hover {
    background: #f5f0eb;
    border-color: #c5bdb6;
}

.btn-danger {
    background: #f28b82;
    color: #fff;
    box-shadow: 0 4px 12px rgba(242, 139, 130, 0.3);
}
.btn-danger:hover {
    background: #C13F4A;
}

.btn-small {
    padding: 10px 18px;
    font-size: 0.9rem;
    min-height: 42px;
    border-radius: 40px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    font-size: 1.3rem;
    line-height: 1;
}

/* ── INPUTS ── */
.input-field {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font);
    border: 2px solid #e5ddd6;
    border-radius: var(--radius-sm);
    background: #fcf9f7;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    color: var(--text);
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(247, 161, 196, 0.2);
}

.input-field::placeholder {
    color: #bcb2a9;
}

/* ── PARENT SETUP ── */
.setup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.setup-header .icon {
    font-size: 2rem;
}

.setup-note {
    background: #f5f0eb;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--text-light);
    border: 2px solid var(--line);
    margin: 12px 0 20px;
}

.contact-preview-list {
    background: #fcf9f7;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin: 12px 0 16px;
    border: 1px solid #eee8e2;
}
.contact-preview-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0eae4;
    font-size: 0.95rem;
}
.contact-preview-item:last-child {
    border-bottom: none;
}
.contact-preview-item .name {
    font-weight: 600;
}
.contact-preview-item .num {
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* ── PIN SETUP / PROMPT ── */
.pin-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 50;
    animation: fadeIn 0.25s ease;
}

.pin-box {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px 28px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.pin-box h3 {
    margin-bottom: 6px;
}
.pin-box .sub {
    margin-bottom: 18px;
}

.pin-input-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 16px 0 20px;
}

.pin-digit {
    width: 52px;
    height: 64px;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid #e5ddd6;
    border-radius: var(--radius-sm);
    background: #fcf9f7;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pin-digit:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(247, 161, 196, 0.2);
}

.pin-digit.input-error {
    border-color: #f28b82;
    box-shadow: 0 0 0 4px rgba(242, 139, 130, 0.2);
    animation: shake 0.3s ease;
}

/* ── CHILD MODE ── */
.child-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 8px;
}
.child-header h1 {
    font-size: 1.3rem;
    line-height: 1.3;
}
.child-header .grownups-btn {
    background: transparent;
    border: 2px solid #e5ddd6;
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
}
.child-header .grownups-btn:hover {
    background: #f5f0eb;
    border-color: #c5bdb6;
}

.contact-name-display {
    text-align: center;
    padding: 10px 0 4px;
}
.contact-name-display .emoji {
    font-size: 2.4rem;
    display: block;
}
.contact-name-display .name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
    margin-top: 2px;
}
.contact-name-display .stars {
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-top: 2px;
}

/* phone number display */
.number-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 8px 12px;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 460px;
}

.digit-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dash {
    font-size: 1.8rem;
    font-weight: 300;
    color: #c5bdb6;
    padding: 0 2px;
    user-select: none;
}

.digit-box {
    width: 48px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: #fcf9f7;
    border: 2px solid #e5ddd6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.digit-box.filled {
    border-color: var(--secondary);
    background: #E4EFFB;
}

.digit-box.empty {
    border-color: #ddd6d0;
    background: #faf7f5;
}

.digit-box.input-digit {
    border-color: var(--primary);
    background: #FDE7E9;
    box-shadow: 0 0 0 3px rgba(247, 161, 196, 0.15);
}

.digit-box input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font);
    color: var(--text);
    outline: none;
    padding: 0;
    border-radius: var(--radius-sm);
}

.digit-box input:focus {
    outline: none;
}

.digit-box input::selection {
    background: var(--primary);
    color: #fff;
}

.digit-box .shown-digit {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    user-select: none;
}

.digit-box.correct-highlight {
    border-color: var(--success);
    background: #E8F4E9;
    box-shadow: 0 0 0 3px rgba(139, 201, 160, 0.25);
}

.digit-box.wrong-highlight {
    border-color: #f28b82;
    background: #FDE7E9;
    box-shadow: 0 0 0 3px rgba(242, 139, 130, 0.2);
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-6px);
    }
    40% {
        transform: translateX(6px);
    }
    60% {
        transform: translateX(-4px);
    }
    80% {
        transform: translateX(4px);
    }
}

/* number pad */
.numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 320px;
    margin: 12px auto 14px;
}

.numpad .btn {
    min-height: 58px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background: #f5f0eb;
    color: var(--text);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    padding: 8px;
    border: none;
    cursor: pointer;
    transition: 0.15s;
    font-family: var(--font);
}

.numpad .btn:active {
    transform: scale(0.94);
    background: #e8e0d8;
}

.numpad .btn-num {
    background: #fcf9f7;
    border: 1px solid #eee8e2;
}
.numpad .btn-num:active {
    background: #e8e0d8;
}

.numpad .btn-back {
    background: #f5f0eb;
    font-size: 1.1rem;
}
.numpad .btn-back:active {
    background: #e8e0d8;
}

/* check & action row */
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 8px 0 12px;
}
.action-row .btn {
    flex: 1 1 auto;
    min-width: 120px;
}

/* contact list (child) */
.child-contact-list {
    margin-top: 20px;
    border-top: 2px solid #f0eae4;
    padding-top: 16px;
}
.child-contact-list h4 {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 8px 14px;
    border-radius: 40px;
    background: #f5f0eb;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s;
    border: 2px solid transparent;
    touch-action: manipulation;
    user-select: none;
}
.contact-chip:active {
    transform: scale(0.95);
}
.contact-chip.active {
    border-color: var(--primary);
    background: #FDE7E9;
}
.contact-chip .chip-stars {
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-left: 2px;
}
.contact-chip .chip-emoji {
    font-size: 1.1rem;
}

/* ── CELEBRATION OVERLAY ── */
.celebration-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 60;
    animation: fadeIn 0.35s ease;
}

.celebration-box {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px 24px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.celebration-box .big-icon {
    font-size: 3.6rem;
    display: block;
    margin-bottom: 6px;
}
.celebration-box h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}
.celebration-box .full-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    background: #f5f0eb;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 10px 0 14px;
}
.celebration-box .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 6px;
}
.celebration-box .btn-group .btn {
    flex: 1 1 auto;
    min-width: 120px;
}

/* confetti particles (simple) */
.confetti-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: var(--radius);
    z-index: 61;
}
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    opacity: 0;
    animation: confettiFall 1.8s ease-in forwards;
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        transform: translateY(-40px) rotate(0deg) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(calc(100vh)) rotate(720deg) scale(1.2);
    }
}

/* ── TEACHING OVERLAY ── */
.teaching-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 55;
    animation: fadeIn 0.3s ease;
}

.teaching-box {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px 24px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.teaching-box .big-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 4px;
}
.teaching-box h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.teaching-box .full-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    background: #f5f0eb;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 12px 0 16px;
}
.teaching-box .digits-spoken {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

/* ── PARENT MANAGEMENT ── */
.mgmt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.mgmt-header h2 {
    font-size: 1.3rem;
}
.mgmt-header .sub {
    font-size: 0.95rem;
}

.mgmt-contact-list {
    margin: 12px 0 16px;
}

.mgmt-contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #fcf9f7;
    border-radius: var(--radius-sm);
    border: 1px solid #f0eae4;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.mgmt-contact-item .info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 120px;
}
.mgmt-contact-item .info .name {
    font-weight: 600;
    font-size: 1rem;
}
.mgmt-contact-item .info .num {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
}
.mgmt-contact-item .actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.mgmt-contact-item .actions .btn {
    min-height: 38px;
    padding: 6px 14px;
    font-size: 0.95rem;
    border-radius: 30px;
}

.mgmt-form {
    background: #fcf9f7;
    border-radius: var(--radius-sm);
    padding: 18px 16px;
    border: 1px solid #f0eae4;
    margin: 12px 0 16px;
}
.mgmt-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}
.mgmt-form .form-row .field {
    flex: 1 1 160px;
}
.mgmt-form .form-row .field label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}
.mgmt-form .form-row .field input {
    width: 100%;
}
.mgmt-form .form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.mgmt-form .form-actions .btn {
    min-height: 44px;
}

.mgmt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    border-top: 2px solid #f0eae4;
    padding-top: 16px;
}
.mgmt-actions .btn {
    min-width: 120px;
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
    #app {
        padding: 16px 14px 20px;
        min-height: 94vh;
        max-height: 99vh;
        border-radius: 20px;
    }
    h1 {
        font-size: 1.3rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    .contact-name-display .name {
        font-size: 1.6rem;
    }
    .digit-box {
        width: 38px;
        height: 46px;
        font-size: 1.3rem;
    }
    .digit-box input {
        font-size: 1.3rem;
    }
    .digit-box .shown-digit {
        font-size: 1.3rem;
    }
    .dash {
        font-size: 1.4rem;
    }
    .numpad {
        max-width: 260px;
        gap: 8px;
    }
    .numpad .btn {
        min-height: 50px;
        font-size: 1.3rem;
    }
    .action-row .btn {
        min-width: 80px;
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 46px;
    }
    .contact-chip {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
    .pin-digit {
        width: 42px;
        height: 54px;
        font-size: 1.5rem;
    }
    .celebration-box h2 {
        font-size: 1.4rem;
    }
    .celebration-box .full-number {
        font-size: 1.2rem;
    }
    .mgmt-contact-item {
        padding: 10px 12px;
    }
    .mgmt-contact-item .actions .btn {
        font-size: 0.95rem;
        padding: 4px 10px;
        min-height: 32px;
    }
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        min-height: 46px;
    }
}

@media (max-width: 380px) {
    .digit-box {
        width: 32px;
        height: 40px;
        font-size: 1.1rem;
    }
    .digit-box input {
        font-size: 1.1rem;
    }
    .digit-box .shown-digit {
        font-size: 1.1rem;
    }
    .dash {
        font-size: 1.1rem;
        padding: 0 1px;
    }
    .numpad {
        max-width: 220px;
        gap: 6px;
    }
    .numpad .btn {
        min-height: 44px;
        font-size: 1.1rem;
    }
    .contact-name-display .name {
        font-size: 1.3rem;
    }
}

@media (min-width: 600px) {
    .digit-box {
        width: 58px;
        height: 66px;
        font-size: 1.9rem;
    }
    .digit-box input {
        font-size: 1.9rem;
    }
    .digit-box .shown-digit {
        font-size: 1.9rem;
    }
    .dash {
        font-size: 2rem;
        padding: 0 6px;
    }
    .numpad {
        max-width: 360px;
        gap: 12px;
    }
    .numpad .btn {
        min-height: 66px;
        font-size: 1.7rem;
    }
    .contact-name-display .name {
        font-size: 2.4rem;
    }
    #app {
        padding: 32px 32px 36px;
        min-height: 80vh;
        max-height: 96vh;
    }
}

/* ── SCROLLBAR for contact list ── */
.contact-grid {
    max-height: 160px;
    overflow-y: auto;
    padding: 4px 2px 8px;
}
.contact-grid::-webkit-scrollbar {
    width: 3px;
}
.contact-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 8px;
}

/* ── MISC ── */
.emoji-big {
    font-size: 2rem;
}

.privacy-note {
    font-size: 0.95rem;
    color: var(--text-light);
    background: #f5f0eb;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    text-align: center;
    margin-top: 12px;
}

.empty-state {
    text-align: center;
    padding: 20px 8px;
    color: var(--text-light);
}
.empty-state .icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 8px;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border-radius: 40px;
    padding: 2px 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

/* confirmation dialog inline */
.confirm-dialog {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    border: 2px solid #f0eae4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    margin: 8px 0 12px;
    text-align: center;
}
.confirm-dialog .btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}
.confirm-dialog .btn-group .btn {
    min-height: 40px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* transition helper */
.fade-transition {
    transition: opacity 0.2s ease;
}
    
