/* IKM Widget CSS - Modern Redesign */
.ikm-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    color: white;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.ikm-widget-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.6);
    color: white;
}

#ikmModal .modal-dialog {
    max-width: 800px;
}

#ikmModal .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

#ikmModal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #0d6efd;
    padding: 20px;
}

#ikmModal .modal-title {
    font-weight: 700;
    text-align: center;
    width: 100%;
    color: #333;
}

.ikm-step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 10px;
}

.ikm-step-dot {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    transition: all 0.3s ease;
}

.ikm-step-dot.active {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.ikm-step-dot.completed {
    background-color: #198754;
    color: white;
}

.ikm-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

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

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

.ikm-form-section {
    margin-bottom: 25px;
}

.ikm-form-section h5 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #212529;
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}

.ikm-question {
    margin-bottom: 20px;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.ikm-question label.q-title {
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    color: #444;
}

/* Modern Pill Radio Buttons */
.ikm-pill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ikm-pill-options .form-check {
    padding: 0;
    margin: 0;
    flex: 1 1 20%;
    min-width: 140px;
}

.ikm-pill-options input[type="radio"] {
    display: none;
}

.ikm-pill-options label {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
    color: #495057;
    font-weight: 500;
    user-select: none;
}

.ikm-pill-options label:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.ikm-pill-options input[type="radio"]:checked + label {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
    font-weight: 600;
}

.ikm-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.invalid-feedback-custom {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
}

/* Seragamkan ukuran font form */
#ikmForm,
#ikmForm .form-label,
#ikmForm .form-control,
#ikmForm .form-select,
#ikmForm .ikm-pill-options label,
#ikmForm .q-title,
#ikmForm .btn {
    font-size: 14.5px;
}
