﻿.accordion {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-top: 1px solid #ccc;
}

.accordion-header {
    background-color: #fff;
    cursor: pointer;
    padding: 15px;
    font-size: 1em;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    width: 100%;
    text-align: left;
}

    .accordion-header:hover {
        background-color: #f7f7f7;
    }

.accordion-content {
    display: none;
    padding: 15px;
    border-top: 1px solid #ccc;
}

    .accordion-content.show {
        display: block;
    }

.accordion-icon {
    margin-left: auto;
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(90deg);
}

.accordion-header span {
    flex: 1;
    text-align: left;
}

/* Define the class for hyperlink hover effect */
.custom-link:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

.loading-icon-container {
    position: relative;
    display: inline-block;
}

.loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #D20B0F; /* Red */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scroll-top {
    /*position: fixed;*/
    bottom: 20px; /* Distance from the bottom of the page */
    left: 20px; /* Distance from the left side of the page */
    width: 40px; /* Width of the button */
    height: 40px; /* Height of the button */
    background-color: #D20B0F; /* Background color of the button */
    color: white; /* Color of the icon */
    border-radius: 50%; /* Make the button circular */
    text-align: center;
    line-height: 40px; /* Center the icon vertically */
    z-index: 1000; /* Ensure it is above other elements */
    display: none; /* Initially hidden */
    transition: all 0.3s ease; /* Smooth transition for appearance */
    top: 87%;
}

    .scroll-top i {
        font-size: 20px; /* Size of the icon */
    }

    .scroll-top.show {
        display: flex; /* Show the button when the 'show' class is added */
    }
