 /* Global body style update */
        body {
            background-color: #f7f7f7;
            font-family: Arial, sans-serif;
        }
        /* Container and Card Styles */
        .container-proposal {
            max-width: 1250px;
            margin: 1rem auto;
            padding: 1rem;
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        }
        .card {
            border: none;
            border-radius: 8px;
            padding: 1rem;
            box-shadow: 0 0 10px rgba(0,0,0,0.05);
        }
        /* Format Container and Buttons */
        .format-container {
            position: relative;
        }
        .format-btn {
            white-space: nowrap;
        }
        /* Gradient Button */
        .btn-gradient {
            background: linear-gradient(90deg, #553c9a, #ee4b2b);
            color: white;
        }
        /* Spinner Styles */
        .spinner-border {
            width: 1.2rem;
            height: 1.2rem;
            border-width: 0.2em;
        }
        /* Hide scrollbar */
        ::-webkit-scrollbar {
            width: 0px;
        }
      /* Ensure the container is relatively positioned */
.relative-container {
    position: relative;
}

/* Add right padding to the textarea to make room for the dice icon */
#descriptionInput {
    padding-right: 40px;  /* Adjust as needed */
}

/* Position the dice icon absolutely within the container */
.dice-reason {
    position: absolute;
    right: 10px;      /* Distance from the right edge of the container */
    top: 50%;         /* Center vertically */
    transform: translateY(-50%);
    cursor: pointer;
    color: rgb(199, 46, 46);
    font-size: 1.2em; /* Adjust icon size if necessary */
}

/* Optionally, remove any default border or background from the button containing the dice */
#diceDescription {
    background: transparent;
    border: none;
    position: absolute;  /* If you need the button itself to not affect layout */
    top: 0;
    right: 0;
    height: 100%;
    width: 40px;  /* Match the padding added to the textarea */
}

        /* Additional Options Toggle & Container */
        #additionalOptionsContainer {
            display: none;
            margin-top: 1rem;
            border-top: 1px solid #ddd;
            padding-top: 1rem;
        }
        /* Preview Box & Draft Navigation */
        .preview-box {
            min-height: 150px;
            max-height: 300px;
            overflow-y: auto;
            transition: opacity 0.5s;
        }
        .fade-in {
            animation: fadeIn 0.5s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        /* Action Buttons */
        .action-buttons .btn {
            min-width: 100px;
        }
        /* Copy Icon Positioning */
        .copy-icon {
            position: absolute;
            right: 10px;
            top: 10px;
            cursor: pointer;
            color: rgb(199, 46, 46);
        }
        
        .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;
        }