:root {
    --theme-primary: #FFCB05;
    --theme-light-primary: #f5f09e24;
    --theme-white: #ffffff;
    --theme-bg-soft: #f7f9fc;

    --theme-text-dark: #1f2937;
    --theme-border-soft: #e6eaf0;
    --theme-success-step: #28a745;
    --theme-light-success-step: #a3f0a3;
}

body {
    background: var(--theme-bg-soft);
}

.portlet-body {
    background-color: #f7f9fc !important;
}

.wizard-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
}

/* ===== HEADER ===== */
.wizard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--theme-border-soft);
    padding-bottom: 15px;
}

/* Heading */
.wizard-header-title h4 {
    font-weight: 600;
    color: var(--theme-text-dark);
}

/* Logo */
.wizard-header-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .wizard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .wizard-header-logo img {
        height: 32px;
    }
}

/* Progress Layout */
.step-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 25px;
    left: 3%;
    width: 95%;
    height: 4px;
    background: #edf1f7;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--theme-primary);
    background: linear-gradient(90deg, var(--theme-success-step) 70%, var(--theme-light-success-step) 30%);
    transition: width 0.6s ease;
}

/* Step Circle */
.step-item {
    text-align: center;
    z-index: 2;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-weight: bold;
    position: relative;
}

/* ACTIVE STEP WAVE GLOW */
.step-item.active .step-circle {
    background: var(--theme-light-success-step);
    color: #2e2e2e;
    animation: waveGlow 1.2s infinite;
}
/* Continuous Wave Glow */
@keyframes waveGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Form Sliding */
.form-slider {
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.step-pane {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.step-pane.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

/* Buttons */
.wizard-buttons {
    display: flex;
    justify-content: space-between;
}

.step-item.completed .step-circle {
    background: var(--theme-success-step);
    color: #ffffff;
}

.form-control:focus {
    border-color: #81e681 !important;
    box-shadow: 0 0 0 0.25rem rgba(163, 240, 163, 0.8) !important;
}
.btn-outline-success {
    border: 1px solid #198754 !important;
    margin-left: 10px !important;
    border-radius: 12px !important;
}

.location-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    margin-top: 18px;
}

.location-text {
    font-weight: 500;
    font-size: 16px;
}

.glow-btn {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 8px 24px;
    font-size: 13px;
    border-radius: 18px;
    cursor: pointer;
    animation: glowing 1.8s infinite;
    white-space: nowrap;
}

@keyframes glowing {
    0% { box-shadow: 0 0 5px #0d6efd; }
    50% { box-shadow: 0 0 20px #0d6efd; }
    100% { box-shadow: 0 0 5px #0d6efd; }
}

.otp-box{
    width:50px;
    height:50px;
    font-size:20px;
    border-radius:12px;
}

label {
    display: inline-block;
    font-weight: 500 !important;
}

.form-select {
    border-radius: 12px !important;
}

.form-control {
    border-radius: 12px !important;
}

.step-circle .bi-check {
    font-size: 28px !important;
}

.step-progress .step-item span {
    font-size: 14px !important;
    letter-spacing: 1px;
    font-weight: 450;
}

.input-group-text{
    border-radius: 12px !important;
    margin-right: 4px;
}

.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Add space between icon and text */
.wizard-buttons button i {
    margin: 0 0 0 0; /* 0.5rem space around icon */
    display: inline-block; /* needed for animation */
}

/* Animation for moving icon left and right */
@keyframes moveLeftRight {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.animated-icon {
    animation: moveLeftRight 0.8s ease-in-out infinite;
}

.entity-card{
    border:2px solid #ddd;
    border-radius:12px;
    padding: 12px 72px;
    text-align:center;
    cursor:pointer;
    position:relative;
    transition:0.3s;
    margin-right: 12px;
}

.entity-card input{
    display:none;
}

.entity-card .tick{
    position:absolute;
    top:4px;
    left:4px;
    background:var(--theme-primary);
    color:white;
    width:22px;
    height:22px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    opacity:0;
}

.entity-card input:checked + .tick{
    opacity:1;
}

.entity-card:has(input:checked){
    background: var(--theme-light-primary);
    border-color: var(--theme-primary);
}

.docu-container {
    background-color: var(--theme-light-primary);
    border-color: var(--theme-primary) !important;
}

.review-label{
    font-size:12px;
    color:#6c757d;
    display:block;
}

.review-value{
    font-weight:500;
    font-size:15px;
}

.review-card{
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:12px;
    margin-bottom:20px;
    background:#fff;
}

.review-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:12px;
    padding-bottom: 12px;
    font-weight:600;
    font-size:18px;
    border-bottom: 1px solid #e5e7eb !important;
}

.review-grid{
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:10px 25px;
    padding: 0 6px;
}

.review-item label{
    display:block;
    font-size:12px;
    color:#6c757d;
    margin-bottom:2px;
}

.review-item span{
    font-size:14px;
    font-weight:500;
}

.review-item.full{
    grid-column: span 2;
}
.review-header{
    display:flex;
    justify-content:center;
    align-items:center;
}

.header-left{
    display:flex;
    gap:10px;
    align-items:center;
}

.profile-pic{
    width:120px;
    height:120px;
    /* border-radius:50%;
    border:2px solid #ddd; */
    margin-bottom: 12px;
}

.profile-pic img{
    width:100%;
    height:100%;
    object-fit:cover;
    margin-top: 30px;
    margin-left: 30px;
}
.rev-sub-sec-heading {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .5px;
    padding-left: 6px;
}

.docu-container.small {
    font-size: 1rem !important;
}