/*hide popular questions*/
.answerbase-widget .questions-list .title {
    display: none !important;
}
.answerbase-widget .questions-list .item {
    display: none;
}
.answerbase-widget .questions-list .viewall {
    margin-top: 15px;
}

/*question posting window - continue button*/
#ab_ask.button.continue {
    background-color: #3f882d;
}
#ab_ask.button.continue:hover {
    background-color: #367627;
}

/*View all button - answer widget*/
.answerbase-widget .questions-list .viewall {
    display: inline-block;
    background-color: #3f882d;
    color: white;
    padding: 8px 15px;      
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.answerbase-widget .questions-list .viewall:hover {
    background-color: #367627;    /* Slightly darker on hover */
}


/* Style the widget title */
.answerbase-widget h5 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.answerbase-widget a {
    font-weight: bold;
}

/* Style question titles */
.answerbase-widget .questions-list .item .title a {
    font-size: 1.1rem;
    color: #0073aa;
    text-decoration: none;
}

.answerbase-widget .questions-list .item .title a:hover {
    text-decoration: underline;
}

/* Style the 'Ask a question' input box */
.answerbase-widget #ask-question-box {
    font-size: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

/* Style the 'Continue' button */
.answerbase-widget #ab_ask {
    background-color: #0073aa;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
}

.answerbase-widget #ab_ask:hover {
    background-color: #005177;
}