﻿.faq-container {
    width:100%;
    overflow:auto;
    height:calc(100vh - 48px);
    overflow-y:auto;
    flex-direction:column;
    margin-bottom:100px;
    background:#f5bf85;

}

/* Search box styling */
.faq-search {
    margin:14px;
    width: 94%;
    padding: 12px;
    border: 1px solid #830707;
    border-radius: 2px;
    margin-bottom: 30px;    
    box-sizing: border-box;
    background:#7b3414;
    margin-top:1.1rem;
    color:#fff;
    border-radius:20px;
}

input::placeholder,
textarea::placeholder {
    color: white;
    -webkit-text-fill-color: white;
    font-weight: normal;
}

/* FAQ Item */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #814f24;
    /*border-radius: 8px;*/
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .faq-item:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

/* Question button */
.faq-question {
    width: 100%;
    background-color: #b77f4e;
    padding: 20px;
    border: none;
    text-align: left;    
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

    .faq-question:hover {
        background-color: #ff7c42;
    }

    .faq-question:focus {
        outline: none;
        background-color: #ff7c42;
    }

/* Toggle icon */
.faq-toggle {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;    
}

    .faq-toggle::before,
    .faq-toggle::after {
        content: '';
        position: absolute;        
        background-color: #fff;
        transition: all 0.3s ease;
    }

    .faq-toggle::before {
        width: 2px;
        height: 20px;
        left: 9px;
        top: 0;

    }

    .faq-toggle::after {
        width: 20px;
        height: 2px;
        left: 0;
        top: 9px;
    }

.faq-question[aria-expanded="true"] .faq-toggle::before {
    transform: rotate(90deg);
    opacity: 0;    
}

/* Answer panel */
.faq-answer {
    background-color: #fff !important;
    padding: 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    line-height:0.5rem;
    width: 100%;
}

    .faq-answer.active {
        height:100%;
        max-height: 500px;
        padding: 20px;
        border-top: 1px solid #e8e8e8;
        background-color: #fff !important;
    }

/* No results message */
.no-results {
    text-align: center;
    padding: 20px;
    color: #cd1212;
    display: none;
}
