/* Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
    counter-reset: step;
}

/* Background line */
.stepper::before {
    content: '';
    position: absolute;
    top: 22px;
    /* half of circle height (45px / 2 = 22.5) */
    left: 0;
    right: 0;
    height: 4px;
    /* a bit thicker for visibility */
    background: #ddd;
    z-index: 0;
}

/* Step item */
.stepper .step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    font-weight: 500;
    color: #777;
}

/* Step circle */
.stepper .step::before {
    content: counter(step);
    counter-increment: step;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ddd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Active step */
.stepper .step.active::before {
    background: linear-gradient(90deg, #0891B2, #06B6D4);
}

/* Completed step */
.stepper .step.completed::before {
    background: #28a745;
}

/* Active/Completed label color */
.stepper .step.active,
.stepper .step.completed {
    color: #0891B2;
}

/* Progress bar (colored line up to current step) */
.stepper .progress-line {
    content: '';
    position: absolute;
    top: 22px;
    /* align with circle center */
    left: 0;
    height: 4px;
    background: #0891B2;
    z-index: 0;
    transition: width 0.4s ease;
}

/* Primary Button */
.primary-bg-color {
    background: linear-gradient(90deg, #0891B2, #06B6D4);
    color: #fff;
    border: none;
}

.primary-bg-color:hover {
    opacity: 0.9;
}

.is-invalid {
    border-color: #dc3545;
}

/* ----------Register form field styles----------- */
/* Light tinted input fields */
.form-control,
.form-select {
    background: transparent !important;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding-left: 2.5rem;
    box-shadow: none;
}

.input-group-icon .form-control {
    padding-left: 2.5rem !important;
}

.form-control:focus,
.form-select:focus {
    background: transparent !important;
    border: none;
    border-bottom: 2px solid #0891B2;
    /* your theme color */
    outline: none;
    box-shadow: none;
}

/* Make input group match underline-only fields */
.input-group {
    border-bottom: 1px solid #ccc !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Remove box around +91 */
.input-group-text {
    background: transparent !important;
    border: none !important;
    padding-left: 0 !important;
    padding-right: 8px !important;
    font-weight: 500;
    color: #555;
}

/* Phone input should match underline style */
.input-group .form-control {
    border: none !important;
    border-bottom: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Focus underline */
.input-group:focus-within {
    border-bottom: 2px solid #0891B2 !important;
}

/* Tagify style changes */
/* Remove Tagify box & make underline-only */
.tagify {
    --tags-border-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: 2.2rem !important;
    background: transparent !important;
}

/* Blue underline on focus */
.tagify:focus-within {
    border-bottom: 2px solid #0891B2 !important;
}
/* Tagify chip styling */
.tagify__tag {
    background: #E0F7FA !important;   /* soft teal background */
    color: #007B8F !important;         /* darker teal text */
    border-radius: 8px !important;
    padding: 3px 10px !important;
    display: flex;
    align-items: center;
    border: 1px solid #B2EBF2 !important;
    font-weight: 500;
}

/* Chip hover */
.tagify__tag:hover {
    background: #B2EBF2 !important;
}

/* Chip remove button */
.tagify__tag__removeBtn {
    color: #007B8F !important;
    margin-left: 6px;
    font-size: 14px;
}

.tagify__tag__removeBtn:hover {
    color: #D32F2F !important;
}
/* Dropdown styling */
.tagify__dropdown {
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    background: #fff !important;
}

/* Each item in dropdown */
.tagify__dropdown__item {
    padding: 10px 14px !important;
    border-radius: 6px !important;
    margin: 3px !important;
    font-size: 14px !important;
    cursor: pointer;
}

/* Hover effect */
.tagify__dropdown__item--active,
.tagify__dropdown__item:hover {
    background: #E0F7FA !important;
    color: #007B8F !important;
}

.tagify.tagify {
    --tag-bg: transparent !important;
    --tag-hover: transparent !important;
    --tag-text-color: #007B8F !important;
}


/* Tag remove button */
.tagator_tag_remove {
    color: #fff !important;
    padding: 4px !important;
}

/* Optional icon positioning */
.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
}

.input-group-icon {
    position: relative;
}

/* File Upload Drop Area */
.upload-drop-area {
    border: 2px dashed #bbb;
    border-radius: 12px;
    background: #f9f9f9;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.upload-drop-area:hover,
.upload-drop-area.dragover {
    background: linear-gradient(135deg, #f0f9ff, #e0f7fa);
    border-color: #14b8a6;
    box-shadow: 0 0 12px rgba(20, 184, 166, 0.2);

}

/* Progress UI */
.upload-card {
    position: relative;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.upload-bg {
    position: absolute;
    inset: 0;
    width: 0%;
    background: linear-gradient(90deg, #14b8a6, #06b6d4);
    opacity: 0.15;
    transition: width 0.3s ease;
    z-index: 0;
}

.progress {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: #e9ecef;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #14b8a6, #06b6d4);
    background-size: 200% 100%;
    position: relative;
    transition: width 0.3s ease;
    overflow: hidden;
}

.progress-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg,
            rgba(255, 255, 255, 0.15) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            transparent 75%,
            transparent);
    background-size: 1rem 1rem;
    animation: progress-stripes 1s linear infinite;
}

/* logo drag and drop */
.logo-drop {
    width: 200px;
    height: 150px;
    padding: 10px;
    border: 2px dashed #bbb;
    border-radius: 10px;
    background: #f9f9f9;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo-drop img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-drop:hover,
.logo-drop.dragover {
    background: linear-gradient(135deg, #f0f9ff, #e0f7fa);
    border-color: #14b8a6;
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.3);
}

/* Preview step */
.preview-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-card {
    background: #f7fafc;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}

.preview-card.light-blue {
    background: #ecf6ff;
}

.preview-title {
    font-size: 0.95rem;
    font-weight: 600;
    /* color: #0d6efd; */
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-field {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.9rem;
}

.preview-field small {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.preview-tags span {
    background: linear-gradient(90deg, #e0f7fb, #ccf4fa);
    color: #036473;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    margin: 0 6px 6px 0;
    display: inline-block;
}