.survey-card {
    padding: 20px;
    border-radius: 16px;
    max-width: 500px;
    /* width: 90%; */
    margin: auto;
    border: 1px solid #d7e7947a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 85%;
}

.progress-container {
    width: 100%;
    background: #eee;
    border-radius: 20px;
    height: 12px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1FB9CC, #00d4ff);
    border-radius: 20px;
    transition: width 0.8s ease;
}

.option {
    position: relative;
    margin: 8px 0;
    padding: 8px;
    background: #465a71a8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.option.other {
    position: relative;
}

.option.other.open {
    background: #f9f9f9;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.other-content {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: max-height 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
    z-index: 10;
}

.option.other.open .other-content {
    max-height: 160px;
    opacity: 1;
    transform: translateY(0);
}

.other-content button {
    width: 100%;
    padding: 10px;
    background: #1FB9CC;
    color: #fff;
    border: none;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
}

.other-content textarea {
    width: 96%;
    padding: 8px;
    border: none;
    border-top: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
    resize: none;
    line-height: 1.4;
    min-height: 48px;
    overflow-y: hidden;
}

.charts {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

canvas {
    width: 100% !important;
    max-width: 320px;
    height: 80px !important;
    margin: auto;
    display: block;
}

#finalMessage {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #2F80ED;
    line-height: 1.5;
    text-align: center;
}