  /* Gradient Button */
  .btn-gradient {
    background: linear-gradient(90deg, #553c9a, #ee4b2b);
    color: white;
    transition: background 0.3s ease;
}
.btn-gradient:hover {
    background: linear-gradient(90deg, #ee4b2b, #553c9a);
}

/* Main Container */
.container-video {
    max-width: 1250px;
    margin: 1rem auto;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Black Loading Spinner */
.loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: black;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Textarea Icons */
.custom-input-wrapper {
    position: relative;
    width: 100%;
}
.custom-input-wrapper textarea {
    padding-right: 3rem;
    resize: vertical;
    min-height: 100px;
}
.custom-input-wrapper .random-icon-d,
.custom-input-wrapper .voice-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgb(0, 0, 0);
    font-size: 1.25rem;
}
.custom-input-wrapper .random-icon-d {
    right: 2.5rem;
}
.custom-input-wrapper .voice-icon {
    right: 0.75rem;
}

/* Favorite Item */
.favorite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9fafb;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
}
.favorite-item p {
    flex-grow: 1;
    margin-right: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.fav-btn, .delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280; /* Tailwind gray-500 */
    transition: color 0.3s;
    font-size: 1.2rem;
}
.fav-btn:hover, .delete-btn:hover {
    color: #111827; /* Tailwind gray-900 */
}

/* Range Input Styling (Red track) */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #ef4444; /* Tailwind red-500 */
    cursor: pointer;
    border-radius: 50%;
    border: none;
}
input[type=range]::-webkit-slider-runnable-track {
    height: 4px;
    background: #ef4444; /* Tailwind red-500 */
    border-radius: 2px;
}
input[type=range]:focus {
    outline: none;
}

/* Descriptions List Scroll */
#descriptions-list {
    max-height: 600px;
    overflow-y: auto;
}

/* Steps / Blog Sections */
.step {
    background-color: #f9f9f9;
    padding: 20px;
}
@media screen and (max-width: 768px) {
    .step {
        padding: 15px;
        margin-bottom: 20px;
        max-width: 100%;
        overflow-x: hidden;
    }
}
.step-description {
    font-size: 16px;
    color: #666;
}

/* Feedback Container */
.feedback {
    margin-top: 10px;
    max-width: 1200px;
    width: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

/* Auto-expand Textarea */
.auto-expand {
    overflow: hidden;
    resize: none;
}

/* Hide favorites list by default */
#favorites-list {
    display: none;
}