/* Main Container */
#kdk-diagnosis-container {
    max-width: 600px;
    margin: 20px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Progress Bar */
.kdk-progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.kdk-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 100%);
    width: 0%;
    transition: width 0.4s ease;
}

/* Steps */
.kdk-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.kdk-step.active {
    display: block;
}

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

.kdk-question {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.kdk-note {
    font-size: 0.9em;
    color: #888;
    text-align: center;
    margin-bottom: 20px;
}

/* Options/Buttons */
.kdk-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kdk-btn {
    background: #fff;
    border: 2px solid #eee;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    outline: none;
}

.kdk-btn:hover {
    border-color: #ff9a9e;
    background: #fff5f5;
}

.kdk-btn.selected {
    border-color: #ff9a9e;
    background: #fff0f0;
}

.kdk-icon {
    font-size: 2em;
    margin-right: 15px;
    min-width: 40px;
    text-align: center;
}

.kdk-text {
    font-size: 1.1em;
    font-weight: bold;
    color: #444;
}

.kdk-sub {
    display: block;
    font-size: 0.85em;
    color: #888;
    font-weight: normal;
    margin-top: 4px;
}

/* Loading */
.kdk-loading {
    text-align: center;
    padding: 40px 0;
}

.kdk-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff9a9e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Result */
.kdk-result {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.kdk-result.active {
    display: block;
}

.kdk-result-header {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.kdk-result-header.high-value {
    background: #e6fffa;
    color: #2c7a7b;
}

.kdk-result-header.general-value {
    background: #fffaf0;
    color: #c05621;
}

.kdk-badge {
    display: inline-block;
    background: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.kdk-result-body p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.kdk-cta-box {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 12px;
}

.kdk-cta-box p {
    margin-bottom: 15px;
    font-weight: bold;
    color: #ff6b6b;
}

.kdk-cta-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #ff9a9e 0%, #f67062 100%);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(246, 112, 98, 0.4);
    transition: transform 0.2s;
}

.kdk-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 112, 98, 0.5);
}
