
/* Reset + Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

body {
    background: #e9f3ff;
    color: #111827;
}

#ik-root {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
}

/* Card */
.ik-step-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 40px;
    box-shadow: 0 18px 40px rgba(15, 46, 92, 0.09);
}

/* Step Tabs */
.ik-step-tabs {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
}
.ik-step-tab {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #d6e7ff;
}
.ik-step-tab.active {
    background: #1c1360;
}

/* Headings */
.ik-section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}
.ik-timezone {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 14px;
}

/* Labels & Inputs */
.ik-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 18px;
    margin-bottom: 6px;
}
.ik-input,
.ik-phone-input {
    width: 100%;
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fafafa;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.ik-input:focus,
.ik-phone-input:focus,
.ik-additional input:focus,
.ik-additional select:focus {
    outline: none;
    border-color: #1c1360;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(28, 19, 96, 0.07);
}

/* Phone field */
.ik-phone-field {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ik-ccode {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
}
.ik-ccode img {
    display: block;
}

#ik-country {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
}

/* Helper & privacy */
.ik-helper-text {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ik-privacy {
    margin-top: 18px;
    font-size: 12px;
    color: #4b5563;
}
.ik-privacy a {
    color: #1c1360;
    text-decoration: underline;
}

/* Buttons */
.ik-proceed-btn,
.ik-btn-primary,
.ik-btn-outline {
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.ik-proceed-btn,
.ik-btn-primary {
    background: #1c1360;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(28, 19, 96, 0.35);
}
.ik-proceed-btn:hover,
.ik-btn-primary:hover {
    background: #17104f;
    transform: translateY(-1px);
}
.ik-btn-outline {
    background: #ffffff;
    color: #1c1360;
    border: 1px solid #1c1360;
}
.ik-btn-outline:hover {
    background: #eef2ff;
    color: #1c1360;
}

/* Actions row */
.ik-steps-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 26px;
}
.ik-success-actions {
    justify-content: center;
    gap: 12px;
}

/* Error & info */
.ik-error {
    margin-top: 10px;
    font-size: 13px;
    color: #dc2626;
}
.ik-info {
    margin-top: 10px;
    font-size: 13px;
    color: #005bbb;
}

/* Slots */
.ik-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.ik-slot {
    position: relative;
    padding: 14px 8px 16px;
    border-radius: 16px;
    border: 1px solid #dbe4f3;
    background: #ffffff;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.ik-slot:hover {
    border-color: #1c1360;
    transform: translateY(-2px);
}
.ik-slot.selected {
    border-color: #1c1360;
    box-shadow: 0 14px 28px rgba(28, 19, 96, 0.28);
}
.slot-weekday {
    font-size: 13px;
    font-weight: 600;
    color: #1c1360;
}
.slot-date {
    font-size: 24px;
    font-weight: 600;
    margin: 2px 0;
}
.slot-time-main {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

/* Selected ribbon */
.ik-ribbon {
    position: absolute;
    top: -9px;
    right: -9px;
    background: #1c1360;
    color: #ffffff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.8);
    transform-origin: 100% 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.ik-slot.selected .ik-ribbon {
    opacity: 1;
    transform: scale(1);
}

/* Additional step */
.ik-additional {
    margin-top: 10px;
}
.ik-additional label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 6px;
}
.ik-additional input,
.ik-additional select {
    width: 100%;
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fafafa;
    font-size: 14px;
}
.ik-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 10px;
}
.ik-checkbox input {
    width: 16px;
    height: 16px;
}

/* Success screen */
.ik-success {
    text-align: center;
}
.success-illustration-circle {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    margin: 0 auto 10px;
    background: radial-gradient(circle at 30% 30%, #7cf2b8, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
}
.success-illustration-check {
    font-size: 32px;
    color: #ffffff;
}
.ik-success-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.ik-success-sub {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 10px;
}
.ik-success-sub.small {
    margin-top: 8px;
    color: #9ca3af;
}
.ik-success-chips {
    display: inline-flex;
    gap: 10px;
    margin-top: 4px;
}
.ik-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4ff;
    font-size: 13px;
}
.ik-chip-icon {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
    .ik-step-card {
        padding: 24px 18px;
        border-radius: 20px;
    }
    .ik-steps-actions {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
    }
    .ik-btn-primary,
    .ik-btn-outline,
    .ik-proceed-btn {
        width: 100%;
        justify-content: center;
    }
}
