body {
    position: relative; /* Essential for positioning the pseudo-element */
    overflow-x: hidden; /* Prevent scrollbar from scaled background */
}

body::before {
    content: ""; /* Required for pseudo-elements */
    position: fixed; /* Makes the background image static relative to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://quantumlayers.com/wp-content/uploads/2025/12/1000013672-purple.png");  /* Specify the image path */
    /* background-image: url("https://quantumlayers.com/wp-content/uploads/2026/01/light-background-1.png");  Specify the image path */
    background-size: cover; /* Ensures the image covers the entire background */
    background-repeat: no-repeat; /* Prevents image repetition */
    opacity: 1; /* Sets the opacity of the background image */
    z-index: -1; /* Places the pseudo-element behind other content */
    will-change: transform;
    animation: ql-bg-drift 20s ease-in-out infinite alternate;
}

@keyframes ql-bg-drift {
    0% {
        transform: scale(1) translate(0%, 0%);
    }
    100% {
        transform: scale(1.25) translate(3%, 3%);
    }
}

.flow-hero {
    overflow: hidden;
}

.flow-hero::before {
    will-change: transform; !important
    animation: ql-bg-drift 20s ease-in-out infinite alternate; !important
}

/* Buttons */
.ql-btn {
    line-height: 0;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
	padding: 20px 20px;
}

.ql-btn-primary {
    background: linear-gradient(135deg, #7C6FD6 0%, #9B8FE8 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 127, 219, 0.3);
}

.ql-btn-primary:hover {
    background: linear-gradient(135deg, #8B7FDB 0%, #AA9EED 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(139, 127, 219, 0.4);
}

.ql-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ql-btn-secondary {
    background: rgba(184, 184, 184, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(184, 184, 184, 0.3);
}

.ql-btn-secondary:hover {
    background: rgba(184, 184, 184, 0.2);
    border-color: rgba(184, 184, 184, 0.5);
}


.ql-btn-danger {
    background: #EB5757;
    color: white;
    box-shadow: 0 4px 12px rgba(235, 87, 87, 0.3);
}

.ql-btn-danger:hover {
    background: #D84848;
    box-shadow: 0 6px 16px rgba(235, 87, 87, 0.4);
}

/* Form Styles */
.ql-form {
    margin: 0;
}

.ql-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0px;
    gap: 10px;
}

.ql-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #FFFFFF;
    font-size: 14px;
}

.ql-form-group input[type="text"],
.ql-form-group input[type="email"],
.ql-form-group input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(139, 127, 219, 0.3);
    border-radius: 2px;
    font-size: 15px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
    box-sizing: border-box;
}

.ql-form-group input::placeholder {
    color: #666;
}

.ql-form-group small {
    display: block;
    margin-top: 6px;
    color: #B8B8B8;
    font-size: 13px;
}

.ql-form-group.has-error input {
    border-color: #EB5757;
}

.ql-form-group.has-error .ql-error-message {
    display: block;
    color: #EB5757;
    font-size: 13px;
    margin-top: 6px;
}


.ql-form-actions {
    margin-bottom: 25px;
    color: #B8B8B8;
}


.ql-form-group {
    margin-bottom: 25px;
    color: #B8B8B8;
}

.ql-form-group select, 
.ql-form-group input[type="number"] {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 127, 219, 0.3);
}

.ql-form-group input[type="text"],
.ql-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(139, 127, 219, 0.3);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.ql-form-group input:focus,
.ql-form-group textarea:focus {
    outline: none;
    color: #FFFFFF;
    border-color: #8B7FDB;
    box-shadow: 0 0 0 3px rgba(139, 127, 219, 0.2);
}

.ql-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ql-radio {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid rgba(139, 127, 219, 0.3);
    border-radius: 2px;
    cursor: pointer;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s;
}

.ql-radio:hover {
    background: rgba(139, 127, 219, 0.1);
    border-color: #8B7FDB;
}

.ql-radio input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.ql-radio input[type="radio"]:checked ~ span {
    color: #9B8FE8;
    font-weight: 600;
}

.ql-radio span {
    flex: 1;
}


/* Actions Bar */
.ql-actions-bar {
    background: linear-gradient(135deg, #252525 0%, #2A2A2A 100%);
    padding: 20px 30px;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(139, 127, 219, 0.15);
}

/* Loading State */
.ql-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.ql-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(139, 127, 219, 0.2);
    border-top-color: #9B8FE8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(155, 143, 232, 0.3);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ql-loading-text {
    margin-top: 20px;
    color: #B8B8B8;
    font-size: 16px;
}

