﻿.text-purple {
    color: #5b2e91 !important;
}

.how-to-refine-cv ol {
    line-height: 1.7;
}

.accordion-button:not(.collapsed) {
    background-color: #f7f3fb;
    color: #5b2e91;
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

/* =============================
   General FAQ & Support Styling
   ============================= */

body {
    background-color: #DEDFE1;
}

.container h1 {
    color: #222;
}

/* =====================================
   Accordion (Bootstrap) Enhancements
   ===================================== */
.accordion-item {
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    /* Hover animation: soft lift and glow */
    .accordion-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px purple;
    }

.accordion-button {
    background-color: #DEDFE1;
    font-size: 1.05rem;
    border: none;
    transition: all 0.3s ease-in-out;
}

    .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 235, 59, 0.4);
    }

    .accordion-button:not(.collapsed) {
        color: #000;
        background-color: #DEDFE1;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
    }

/* =====================================
   FAQ Section Styling
   ===================================== */
.faq-section {
    padding: 1rem 1.5rem;
    background-color: #fff;
    border-radius: 0.75rem;
    border-left: 6px solid #FFEB3B;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .faq-section h5,
    .faq-section h6 {
        color: #000;
    }

.text-yellow {
    color: #FFEB3B !important;
}

.fw-bold.text-yellow {
    color: #000;
    border-bottom: 2px solid #FFEB3B;
    display: inline-block;
    padding-bottom: 2px;
}

.faq-section ol,
.faq-section ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.faq-section li {
    margin-bottom: 0.5rem;
}

/* Highlighted support email links */
.faq-section a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

    .faq-section a:hover {
        color: #FFEB3B;
    }

/* =====================================
   Scroll-to-Top Button with Tooltip
   ===================================== */
#scrollTopContainer {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.scroll-top-btn {
    opacity: 0;
    visibility: hidden;
    background-color: #DEDFE1;
    color: #000;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

    /* Button visible state */
    .scroll-top-btn.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Hover & Active Effects */
    .scroll-top-btn:hover {
        background-color: mediumpurple;
        transform: translateY(-3px);
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
    }

    .scroll-top-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

/* Tooltip */
.scroll-tooltip {
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

    /* Tooltip visible animation */
    .scroll-tooltip.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* Responsive tweak */
@media (max-width: 768px) {
    #scrollTopContainer {
        bottom: 25px;
        right: 25px;
    }

    .scroll-top-btn {
        padding: 10px 12px;
        font-size: 1.25rem;
    }

    .scroll-tooltip {
        font-size: 0.7rem;
    }
}


