// ============================================
// FILE 3: css/dna-bisnis-styles.css
// ============================================

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

/* Container */
.dna-test-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

/* Header */
.dna-test-header {
    text-align: center;
    margin-bottom: 30px;
}

.dna-test-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.dna-test-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #666;
}

/* Progress Bar */
.dna-progress-container {
    height: 12px;
    background-color: #e5e5e5;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.dna-progress-bar {
    height: 100%;
    background-color: #0777f5;
    transition: width 0.3s ease;
    border-radius: 20px;
}

/* Question Card */
.dna-question-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.dna-question-header {
    margin-bottom: 30px;
}

.dna-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 15px;
}

.dna-question-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.dna-instruction {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0777f5;
    margin: 0;
}

/* Badge */
.dna-badge-situational {
    display: inline-block;
    background-color: #f9d445;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
}

/* Options Container - Tahap 1 */
.dna-options-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dna-option-item {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.3s ease;
}

.dna-option-item:hover {
    border-color: #0777f5;
}

.dna-option-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.dna-option-badge {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: #0777f5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.dna-option-text {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0;
    padding-top: 6px;
}

/* Ranking Buttons - Tahap 1 */
.dna-ranking-buttons {
    display: flex;
    gap: 10px;
    margin-left: 48px;
}

.dna-rank-label {
    flex: 1;
    cursor: pointer;
}

.dna-rank-input {
    display: none;
}

.dna-rank-button {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dna-rank-input:checked + .dna-rank-button {
    background-color: #0777f5;
    color: white;
    box-shadow: 0 4px 12px rgba(7, 119, 245, 0.3);
}

.dna-rank-label:hover .dna-rank-button {
    background-color: #e5e5e5;
}

.dna-rank-input:checked + .dna-rank-button:hover {
    background-color: #0777f5;
}

/* Scale Horizontal - Tahap 2 Regular Questions */
.dna-scale-horizontal {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.dna-scale-h-label {
    flex: 1;
    cursor: pointer;
}

.dna-scale-h-box {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dna-scale-input:checked ~ .dna-scale-h-box {
    background-color: #0777f5;
    color: white;
    box-shadow: 0 4px 12px rgba(7, 119, 245, 0.3);
}

.dna-scale-h-label:hover .dna-scale-h-box {
    background-color: #e5e5e5;
}

.dna-scale-labels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.dna-scale-label-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.3;
}

/* Situational Container - Tahap 2 */
.dna-situational-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dna-situational-option {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.3s ease;
}

.dna-situational-option:hover {
    border-color: #0777f5;
}

/* Scale Vertical - Tahap 2 Situational */
.dna-scale-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 48px;
    margin-top: 15px;
}

.dna-scale-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dna-scale-label:hover {
    background-color: #f9f9f9;
}

.dna-scale-box {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dna-scale-input:checked ~ .dna-scale-box {
    background-color: #0777f5;
    color: white;
    box-shadow: 0 4px 12px rgba(7, 119, 245, 0.3);
}

.dna-scale-text {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Form Inputs */
.dna-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.dna-input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.dna-input:focus {
    outline: none;
    border-color: #0777f5;
}

/* User Info Display */
.dna-user-info-display {
    background-color: #f9f9f9;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.dna-user-info-display p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin: 8px 0;
}

.dna-info-note {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Navigation Buttons */
.dna-navigation {
    display: flex;
    gap: 15px;
}

.dna-btn {
    flex: 1;
    padding: 16px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dna-btn-primary {
    background-color: #0777f5;
    color: white;
}

.dna-btn-primary:hover {
    background-color: #0562c7;
    box-shadow: 0 4px 12px rgba(7, 119, 245, 0.3);
}

.dna-btn-secondary {
    background-color: #e5e5e5;
    color: #1a1a1a;
    flex: 0 0 auto;
}

.dna-btn-secondary:hover {
    background-color: #d5d5d5;
}

/* Validation Message */
.dna-validation-message {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-top: 20px;
}

/* Error Messages */
.dna-bisnis-error {
    background-color: #ffecec;
    color: #a00606;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 2px solid #a00606;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

/* Mobile Responsive */
@media only screen and (max-width: 768px) {
    .dna-test-container {
        padding: 15px;
    }

    .dna-test-title {
        font-size: 24px;
    }

    .dna-question-card {
        padding: 25px;
    }

    .dna-card-title {
        font-size: 18px;
    }

    .dna-ranking-buttons {
        margin-left: 0;
    }

    .dna-scale-vertical {
        margin-left: 0;
    }

    .dna-navigation {
        flex-direction: column;
    }

    .dna-btn-secondary {
        flex: 1;
    }
}

@media only screen and (max-width: 480px) {
    .dna-test-title {
        font-size: 20px;
    }

    .dna-card-title {
        font-size: 16px;
    }

    .dna-option-text,
    .dna-scale-text {
        font-size: 14px;
    }

    .dna-scale-labels {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .dna-scale-label-text {
        text-align: left;
    }
}
