/* Remove underline from all <a> tags and apply modern link styling */
a {
    text-decoration: none !important;
    color: #0d6efd;
    transition: color 0.3s ease;
}

a:hover {
    color: #0a58ca;
}

/* PARSEDOWN */

.parsedown
{
    padding:15px;
    font-size:16px;
    border-radius:6px;
    border:1px solid var(--bs-border-color-translucent);
}

.parsedown > h1:first-child
{
    display:none;
}

.parsedown h1
{
    font-size:2em;
}

.parsedown h2
{
    font-size:1.6em;
}

.parsedown h3
{
    font-size:1.3em;
}

.parsedown h4,
.parsedown h5,
.parsedown h6
{
    font-size:1.2em;
}

.product-item {
    cursor: move;
    transition: all 0.3s ease;
}
.product-item.sortable-ghost {
    opacity: 0.4;
    background: #cff4fc;
}
.product-item.sortable-drag {
    background: #cff4fc;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.product-item:hover {
    background: #d61938;
    border-radius: 0.375rem;
}
.product-item.dragging {
    background: #cff4fc;
    transform: scale(1.02);
}
.grip-handle {
    cursor: move;
    color: #cff4fc;
    transition: color 0.2s ease;
}
.grip-handle:hover {
    color: #cff4fc;
}

/* Form Loader Styles */
.form-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

.form-loader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.form-loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.form-loader-text {
    color: #0d6efd;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}