.section_spacing {
    margin-block: 50px;
}

@media only screen and (max-width: 768px) {
    .section_spacing {
        margin-block: 10px;
    }

    .common_heading {
        font-size: 24px;
    }
}

.category-card-alt .card-body {
    background: #000;
    padding: 12px;
}

.category-card-alt .card-body .category-title {
    margin-bottom: 0 !important;
}

.category-card-alt .card-body .category-title a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
}

.bg-position-center-top .bg-top {
    width: 100% !important;
    object-fit: cover;
    /* height: 500px !important; */
}

.common-table td,
.common-table th {
    border: 1px solid #e3e9ef;
}

.ribbon-cs {
    width: 130px;
    height: 100px;
    overflow: hidden;
    position: absolute;
}

.ribbon-cs span {
    position: absolute;
    display: block;
    width: 241px;
    padding: 4px 0;
    background-color: #000000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    text-align: center;
}

.ribbon-cs svg {
    width: 12px;
    height: 12px;
    margin-right: 5px;
}

/* top left*/
.ribbon-cs-top-left {
    top: 0px;
    left: 0px;
}

.ribbon-cs-top-left span {
    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}

.product-thumb {
    position: relative;
}
.premium-badge-icon{
    width: 15px;
}

/* =============================== Start Code Generator =============================== */

.code-generator-sec {
    margin-block: 30px;

    .generator-header {
        background: linear-gradient(to right, #f65f11, #ce1561);
        color: #ffffff;
        text-align: center;
        padding: 12px;
        border-radius: 10px;
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 25px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .input-label {
        color: #131313;
        margin: 10px 0;
        font-weight: 500;
        font-size: 15px;
    }

    .input-box,
    .textarea-box,
    select {
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
        color: #000;
        margin-bottom: 8px;
        transition: border-color 0.3s, box-shadow 0.3s;
        font-size: 14px;
    }

    .input-box:focus,
    .textarea-box:focus,
    select:focus {
        border-color: #f65f11;
        box-shadow: 0 0 0 3px rgba(246, 95, 17, 0.1);
        outline: none;
    }

    .textarea-box {
        height: 100px;
        overflow-y: auto;
        resize: vertical;
        min-height: 80px;
        max-height: 200px;
    }

    .button {
        background: linear-gradient(to right, #f65f11, #ce1561);
        color: white;
        border-radius: 6px;
        padding: 12px 24px;
        text-align: center;
        cursor: pointer;
        font-weight: 600;
        border: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        display: inline-block;
    }

    .button:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }

    .button:active {
        transform: translateY(1px);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    #output {
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 15px;
        margin: 15px 0;
        height: 200px;
        overflow-y: auto;
        color: black;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        font-size: 14px;
        line-height: 1.5;
    }

    #output span {
        color: red;
    }

    .btn-grp {
        display: flex;
        align-items: center;
        gap: 20px;
        justify-content: center;
        margin: 15px 0;
    }

    .question-card {
        /* background-color: #f9f9f9; */
        border-radius: 8px;
        padding: 8px 15px;
        /* margin-bottom: 15px; */
        /* border-left: 4px solid #f65f11; */
        /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
        transition: box-shadow 0.3s ease;
    }

    .question-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .sidebar-card {
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .sidebar-link {
        color: #333;
        display: block;
        padding: 10px 15px;
        margin-bottom: 5px;
        border-radius: 6px;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .sidebar-link:hover,
    .sidebar-link.active {
        color: #f65f11;
        background-color: rgba(246, 95, 17, 0.1);
    }

    .sidebar-link.active {
        border-left: 3px solid #f65f11;
    }

    .notification {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #4CAF50;
        color: white;
        padding: 10px 15px;
        border-radius: 6px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        opacity: 0;
        transition: opacity 0.3s, transform 0.3s;
        transform: translateY(-20px);
        z-index: 9999;
        pointer-events: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .notification.show {
        opacity: 1;
        transform: translateY(0);
    }

    .notification i {
        font-size: 18px;
    }

    .section-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #333;
        border-bottom: 2px solid #f65f11;
        padding-bottom: 8px;
        display: inline-block;
    }

    .other-field {
        margin-top: 8px;
        display: none;
    }

    @media screen and (max-width: 768px) {
        .btn-grp {
            flex-direction: column;
            gap: 10px;
            align-items: stretch;
        }

        .button {
            width: 100%;
        }

        .generator-header {
            font-size: 18px;
            padding: 10px;
        }

        .question-card {
            padding: 12px;
        }

        .mobile-sidebar-toggle {
            display: block !important;
        }

        .sidebar-container {
            position: fixed;
            left: -100%;
            top: 0;
            width: 80%;
            height: 100%;
            background: white;
            z-index: 1000;
            transition: left 0.3s ease;
            overflow-y: auto;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        }

        .sidebar-container.active {
            left: 0;
        }

        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }

        .sidebar-overlay.active {
            display: block;
        }

        .sidebar-close {
            position: absolute;
            top: 10px;
            right: 20px;
            font-size: 24px;
            background: none;
            border: none;
            color: #f65f11;
            cursor: pointer;
        }
    }

    #notification-message {
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 0.3px;
    }

    .notification.success {
        background-color: #4CAF50;
    }

    .notification.error {
        background-color: #f44336;
    }

    .notification.info {
        background-color: #2196F3;
    }

    .mobile-sidebar-toggle {
        display: none;
        position: fixed;
        bottom: 20px;
        background: linear-gradient(to right, #f65f11, #ce1561);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        text-align: center;
        line-height: 40px;
        font-size: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 999;
        cursor: pointer;
        border: none;
    }
}

/* =============================== End Code Generator =============================== */