.elementor-3041 .elementor-element.elementor-element-ebc37a9{--display:flex;--background-transition:0.3s;}/* Start custom CSS for shortcode, class: .elementor-element-14aa5f1 */@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('https://armanati-test.ir/wp-content/uploads/2024/05/IRANSansXFaNum-Regular.woff') format('woff'),
         url('https://armanati-test.ir/wp-content/uploads/2024/05/IRANSansXFaNum-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
#risk-assessment-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1f1c2c 0%, #928dab 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: #fff;
    animation: fadeIn 1s ease-in-out;
    text-align: justify;
    line-height: 1.8; /* Increased line-height */
    box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}

.question-container {
    margin-bottom: 20px; /* Increased margin-bottom */
}

.question {
    padding: 10px 0; /* Add padding for each question */
}

.question label {
    display: block;
    margin-bottom: 15px; /* Increased margin-bottom */
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: justify;
    line-height: 1.8; /* Increased line-height */
    padding: 10px; /* Added padding */
    box-sizing: border-box;
}

.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.option {
    flex: 1 1 45%;
    padding: 15px;
    font-size: 18px;
    border-radius: 10px;
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.option:hover {
    background-color: rgba(67, 135, 199, 0.8);
    color: #fff;
    transform: translateY(-3px);
    border-color: #4387C7;
}

.option.selected {
    background-color: rgba(67, 135, 199, 1);
    color: #fff;
    border-color: #4387C7;
    animation: colorChange 0.5s ease-in-out;
}

.next-button,
.back-button,
#submit-risk-assessment {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: #fff;
    background-color: #4387C7;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: buttonAppear 0.5s ease-in-out;
}

.next-button:hover,
.back-button:hover,
#submit-risk-assessment:hover {
    background-color: #365f8d;
    transform: translateY(-3px);
}

.back-button {
    background-color: #ff6f61;
}

.back-button:hover {
    background-color: #e65b50;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2) 10px,
      rgba(0, 0, 0, 0.1) 10px,
      rgba(0, 0, 0, 0.1) 20px
    );
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px; /* Increased margin-top */
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}

.progress {
    height: 100%;
    background-color: #4387C7;
    width: 0;
    transition: width 0.6s ease-in-out, background-color 0.6s ease-in-out;
    position: relative;
}

.progress::after {
    content: attr(data-progress) '%';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-weight: bold;
}

#risk-assessment-result {
    margin-top: 40px; /* Increased margin-top */
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out, pulse 2s infinite;
    text-align: justify;
    line-height: 1.8; /* Increased line-height */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes buttonAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes colorChange {
    0% { background-color: rgba(67, 135, 199, 0.5); }
    50% { background-color: rgba(67, 135, 199, 1); }
    100% { background-color: rgba(67, 135, 199, 0.5); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
/* Circle Loader Styles */
.loader {
    position: relative;
    width: 150px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #FFA500;
    animation: bounce 1.2s infinite ease-in-out;
}

.circle1 { animation-delay: -0.24s; }
.circle2 { animation-delay: -0.12s; }
.circle3 { animation-delay: 0s; }
.circle4 { animation-delay: -0.12s; }
.circle5 { animation-delay: -0.24s; }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

#loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

#loader p {
    text-align: center;
    font-size: 18px;
    color: #fff;
    margin-top: 20px;
}

/* Chart Styles */
#risk-assessment-chart {
    margin: 0 auto;
    max-width: 500px;
    max-height: 500px;
}

.chartjs-tooltip {
    font-family: 'IRANSansXFaNum'; /* Ensure the correct font is applied */
}

.chartjs-legend {
    font-family: 'IRANSansXFaNum'; /* Ensure the correct font is applied */
}

.allocation-list {
    list-style-type: none; /* Remove default list styles */
    padding: 0; /* Remove default padding */
    max-width: 90%; /* Limit the width of the list */
    padding-top: 30px;
    margin: 0 auto;
}

.allocation-list li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.allocation-list li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.allocation-list .link-button {
    background-color: #FF5722; /* Bright orange */
    color: #fff;
    padding: 10px 20px; /* Increased padding for a larger button */
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: bold; /* Bold text for emphasis */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    border: none; /* Remove default border */
}

.allocation-list .link-button:hover {
    background-color: #E64A19; /* Darker shade of orange */
    transform: translateY(-3px); /* Slight lift on hover */
}

.allocation-list .link-button:active {
    background-color: #D84315; /* Even darker shade for active state */
    transform: translateY(1px); /* Slight push down on click */
}

.allocation-list .fund-name {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    flex: 2;
    padding-right: 10px; /* Add some padding to the right for spacing */
}

.allocation-list .fund-percentage {
    font-size: 16px;
    color: #ffd700;
    flex: 1;
    text-align: right;
    margin-right: 30px; /* Add some padding to the left for spacing */
}/* End custom CSS */