a {
    text-decoration: none !important;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1320px;
}

/* Form selection styles */
#form-type-selection .btn {
    transition: all 0.3s ease;
    padding: 10px 2rem;
    font-size: 1.1rem;
}

#form-type-selection .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Form progress styles */
.form-progress-container {
    overflow: hidden;
}

.form-progress-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.form-progress-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.form-progress {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: max-content
}

.form-progress-item {
    flex: 1 1 300px;
    padding: 15px 10px 15px 20px;
    cursor: pointer;
    position: relative;
    min-width: 120px;
    transition: all 0.3s ease;
}

.form-progress-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: #dee2e6;
}

.progress-step-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #6c757d;
    white-space: nowrap;
}

.progress-step-text {
    font-size: 0.9rem;
    color: #6c757d;
    padding-left: 20px;
}

.form-progress-item.active .progress-step-title,
.form-progress-item.active .progress-step-text {
    color: #000;
}

.form-progress-item:hover .progress-step-title,
.form-progress-item:hover .progress-step-text {
    color: #0a58ca;
}

/* Completion status indicators */
.form-progress-item .completion-status {
    position: absolute;
    right: 10px;
    top: 15px;
    font-size: 1.2rem;
}

.form-progress-item .completion-status.complete {
    color: #198754; /* Bootstrap success color */
}

.form-progress-item .completion-status.incomplete {
    color: #dc3545; /* Bootstrap danger color */
}

.form-progress-item:before {
    display: none;
}

/* Image upload styles */
.image-upload-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.image-upload-container {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

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

.image-upload-wrapper {
    width: calc(20% - 12px);
    margin-bottom: 0 !important;
}

.image-upload-button {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-upload-button button {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-upload-button button i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.image-preview {
    height: 200px;
}

.image-preview img {
    height: 150px;
    object-fit: contain;
}

.image-preview .card {
    height: 100%;
}

/* Image requirements list styles */
#image-requirements-list {
    margin-bottom: 1rem;
}

.requirement-item {
    margin-bottom: 0.5rem;
    display: none; /* Hidden by default, shown via JS */
}

/* Image preview button styles */
.image-preview .card-body {
    padding: 0.5rem !important;
}

/* Validation styles */
.invalid-feedback {
    display: none;
}

.is-invalid + .invalid-feedback,
.is-invalid .invalid-feedback {
    display: block;
}

/* Animation for stage transitions */
.form-stage {
    transition: opacity 0.3s ease-in-out;
}

.delete_product_btn {
    cursor: pointer;
}

small {
    font-size: 12px;
    color: #999;
}

.form-label {
    font-weight: 500;
}

.form-label span {
    color: #900;
}

#image-requirements-list li {
    position: relative;
    display: block;
    list-style: none;
    padding-left: 20px;
    margin: 10px 0;
}

#image-requirements-list li:before {
    content: "\F280";
    font-family: "bootstrap-icons", serif;
    position: absolute;
    left: 0;
    top: 0px;
}

#loader_screen {
    display: none;
    width: 100%;
    height: 100%;
    z-index: 1060;
    position: fixed;
    top: 0;
    left: 0;
    background: #000000AA;
    text-align: center;
}

#loader_screen > div {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.return_info span {
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.rules_info {
    font-size: 13px;
    margin-top: 30px;
}

.rules_info a {
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: underline !important;
}

.bi-chevron-left,
.bi-chevron-double-left {
    margin: 1px 5px -1px 0;
    display: block;
    float: left;
}

.bi-chevron-right {
    margin: 1px 0 -1px 5px;
    display: block;
    float: right;
}

.bi-chevron-left:before,
.bi-chevron-double-left:before,
.bi-chevron-right:before{
    font-weight: 900!important;
}

/* Responsive adjustments */
@media (max-width:768px) {
    .form-progress-container {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    .form-progress {
        padding: 0 15px;
    }

    .form-progress-item {
        min-width: 100px;
        padding: 10px 5px;
    }

    .progress-step-title {
        font-size: 1rem;
    }

    .progress-step-text {
        font-size: 0.8rem;
    }

    .image-upload-wrapper {
        width: calc(50% - 8px);
    }

    .image-upload-button {
        height: 150px;
    }

    .image-preview {
        height: 150px;
    }

    .image-preview img {
        height: 100px;
    }

}

@media (max-width:576px) {
    .image-upload-wrapper {
        width: 100%;
    }

}