/*==================================================
PROMPT HERO
==================================================*/

.prompt-hero {
    padding: 0px 0 40px;
}

/*=========================================
Hero Overview
=========================================*/

.hero-overview {
    margin: 24px 0 30px;
}

.hero-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 18px;
}

/*==================================================
SAVE BUTTON
==================================================*/

.btn.hero-save-btn {
    border: 2px solid;
    border-color: #242430;
}

/* Hover */

.btn.hero-save-btn:hover {
    background: #EF4444 !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 10px 24px rgba(239, 68, 68, .35) !important;
}

.btn.hero-save-btn:hover i {
    color: #fff;
}

/* Active */

.btn.hero-save-btn.active {
    background: #EF4444 !important;
    color: #FFE5E8 !important;
    box-shadow: 0 10px 24px rgba(239, 68, 68, .25) !important;
}

.btn.hero-save-btn.active i {
    color: #fff;
}

/* Active + Hover */

.btn.hero-save-btn.active:hover {
    background: #EF4444;
    color: #fff;
}

.hero-save-btn.active:hover i {
    color: #fff;
}

/*==================================================
LLIKE BUTTON
==================================================*/

.btn.hero-like-btn {
    border: 2px solid;
    border-color: #242430;
}

/* Hover */

.btn.hero-like-btn:hover {
    background: #EF4444 !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 10px 24px rgba(239, 68, 68, .35) !important;
}

.btn.hero-like-btn:hover i {
    color: #fff;
}

/* Active */

.btn.hero-like-btn.active {
    background: #EF4444 !important;
    color: #FFE5E8 !important;
    box-shadow: 0 10px 24px rgba(239, 68, 68, .25) !important;
}

.btn.hero-like-btn.active i {
    color: #fff;
}

/* Active + Hover */

.btn.hero-like-btn.active:hover {
    background: #EF4444;
    color: #fff;
}

.hero-like-btn.active:hover i {
    color: #fff;
}

/*==================================================
SHARE BUTTON
==================================================*/

.btn.hero-share-btn {
    border: 2px solid;
    border-color: #242430;
}

/* Hover */

.btn.hero-share-btn:hover {
    background: #EF4444 !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 10px 24px rgba(239, 68, 68, .35) !important;
}

.btn.hero-share-btn:hover i {
    color: #fff;
}

/* Active */

.btn.hero-share-btn.active {
    background: #EF4444 !important;
    color: #FFE5E8 !important;
    box-shadow: 0 10px 24px rgba(239, 68, 68, .25) !important;
}

.btn.hero-share-btn.active i {
    color: #fff;
}

/* Active + Hover */

.btn.hero-share-btn.active:hover {
    background: #EF4444;
    color: #fff;
}

.hero-share-btn.active:hover i {
    color: #fff;
}


.prompt-hero-grid {
    display: grid;
    grid-template-columns: 560px 1fr;
    gap: 60px;
    align-items: start;
}

.hero-save-btn {
    transition: .3s;
}

.hero-save-btn.saved {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

.hero-save-btn.saved i {
    color: #fff;
}

/* Main Image */

.preview-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
    position: relative;
}

.preview-view-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    background: rgba(15, 23, 42, .82);
    backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
    opacity: 0;
    transform: translateY(10px);
}

.preview-main:hover .preview-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.preview-view-btn:hover {
    background: var(--primary);
}

.preview-main img {
    width: 100%;
    display: block;
    /* aspect-ratio: 4/5; */
    aspect-ratio: 2/3;
    object-fit: cover;
}

/* Thumbnails */

.preview-thumbs {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.preview-thumbs img {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    cursor: pointer;
    object-fit: cover;
    transition: .3s;
    border: 3px solid transparent;
}

.preview-thumbs img:hover {
    transform: translateY(-4px);
}

.preview-thumbs img.active {

    border-color: var(--primary);

}

/* Badge */



.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(79, 70, 229, .08);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
}

/*=========================================
    Prompt Hero Badges
=========================================*/

.prompt-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.prompt-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

/* Category */

.category-badge {
    background: #EEF4FF;
    color: #2563EB;
}

.category-badge:hover {
    background: #2563EB;
    color: #fff;
}

/* Language */

.language-badge {
    background: #ECFDF5;
    color: #059669;
}

/* Target */

.audience-badge {
    background: #FFF7ED;
    color: #EA580C;
}

/* Premium */

.premium-badge {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: #fff;
}

.prompt-badges i {
    font-size: 13px;
}

/* Title */

.prompt-summary h1 {
    font-size: 48px;
    line-height: 1.15;
    margin: 20px 0;
}

/* Rating */

.prompt-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.prompt-rating span {

    color: #fbbf24;

    font-size: 20px;

}

/* Tags */


.prompt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.prompt-tags a {
    padding: 10px 18px;
    border-radius: 50px;
    background: #fff;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: .3s;
}

.prompt-tags a:hover {
    background: var(--primary);
    color: #fff;
}

.d-none {
    display: none;
}

.see-more-tags {
    padding: 10px 18px;
    border-radius: 50px;
    background: #EEF4FF;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    color: #2563EB;
}

/* Stats */

/*=========================================
    Prompt Stats
=========================================*/

.prompt-stats {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

    margin: 15px 0 25px 0;

}


/*=========================================
    Stat Card
=========================================*/

.prompt-stats .stat-card {

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 18px 12px;

    text-align: center;

    transition: .35s;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .04);

}


/* Hover */

.prompt-stats .stat-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 14px 30px rgba(79, 70, 229, .10);

}


/*=========================================
    Icon
=========================================*/

.prompt-stats .stat-card i {

    display: block;

    font-size: 18px;

    color: var(--primary);

    margin-bottom: 8px;

}


/*=========================================
    Number
=========================================*/

.prompt-stats .stat-card strong {

    display: block;

    font-size: 21px;

    font-weight: 800;

    line-height: 1.2;

    color: var(--heading);

    margin-bottom: 5px;

}


/*=========================================
    Label
=========================================*/

.prompt-stats .stat-card span {

    display: block;

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.2;

}


/*=========================================
    MOBILE
=========================================*/

@media (max-width: 600px) {

    .prompt-stats {

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 7px;

        margin: 12px 0 20px 0;

    }


    .prompt-stats .stat-card {

        padding: 11px 5px;

        border-radius: 12px;

        min-width: 0;

    }


    /* Icon */

    .prompt-stats .stat-card i {

        font-size: 15px;

        margin-bottom: 6px;

    }


    /* Number */

    .prompt-stats .stat-card strong {

        font-size: 15px;

        margin-bottom: 4px;

        white-space: nowrap;

    }


    /* Label */

    .prompt-stats .stat-card span {

        font-size: 9px;

        white-space: nowrap;

    }

}


/*=========================================
    VERY SMALL MOBILE
=========================================*/

@media (max-width: 380px) {

    .prompt-stats {

        gap: 5px;

    }


    .prompt-stats .stat-card {

        padding: 9px 3px;

        border-radius: 10px;

    }


    .prompt-stats .stat-card i {

        font-size: 14px;

        margin-bottom: 5px;

    }


    .prompt-stats .stat-card strong {

        font-size: 14px;

    }


    .prompt-stats .stat-card span {

        font-size: 8px;

    }

}


/* Creator */

/*=========================================
    Creator Mini Card
=========================================*/

.creator-mini {

    display: flex;

    align-items: center;

    gap: 12px;

    background: #fff;

    padding: 12px 16px;

    border-radius: 15px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .04);

    margin-bottom: 22px;

}


/*=========================================
    Creator Avatar
=========================================*/

.creator-mini img {

    width: 42px;

    height: 42px;

    min-width: 42px;

    border-radius: 50%;

    object-fit: cover;

}


/*=========================================
    Creator Name
=========================================*/

.creator-mini strong {

    display: block;

    color: var(--heading);

    font-size: 13px;

    font-weight: 700;

    line-height: 1.3;

}


/*=========================================
    Creator Meta
=========================================*/

.creator-mini span {

    display: block;

    color: var(--text-light);

    font-size: 10px;

    line-height: 1.3;

    margin-top: 3px;

}


/*=========================================
    MOBILE
=========================================*/

@media (max-width: 600px) {

    .creator-mini {

        gap: 9px;

        padding: 10px 12px;

        border-radius: 13px;

        margin-bottom: 18px;

    }


    .creator-mini img {

        width: 36px;

        height: 36px;

        min-width: 36px;

    }


    .creator-mini strong {

        font-size: 11px;

    }


    .creator-mini span {

        font-size: 8px;

        margin-top: 2px;

    }

}


/*=========================================
    VERY SMALL MOBILE
=========================================*/

@media (max-width: 380px) {

    .creator-mini {

        gap: 8px;

        padding: 8px 10px;

        border-radius: 11px;

    }


    .creator-mini img {

        width: 32px;

        height: 32px;

        min-width: 32px;

    }


    .creator-mini strong {

        font-size: 10px;

    }


    .creator-mini span {

        font-size: 7.5px;

    }

}
/* Buttons */

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/*=========================================
    Hero Buttons - Mobile
=========================================*/

@media (max-width: 600px) {

    .hero-buttons {

        display: grid !important;

        grid-template-columns: repeat(4, 1fr);

        gap: 6px;

        width: 100%;

        padding: 0;

    }


    .hero-buttons .btn {

        width: 100%;

        max-width: 90px;

        height: 36px;

        padding: 0 5px;

        margin: 0 auto;

        border-radius: 18px;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 4px;

        font-size: 9px;

        font-weight: 600;

        white-space: nowrap;

        box-sizing: border-box;

    }


    .hero-buttons .btn i {

        font-size: 10px;

        flex-shrink: 0;

    }

}


/*=========================================
    Very Small Mobile
=========================================*/

@media (max-width: 380px) {

    .hero-buttons {

        gap: 4px;

    }


    .hero-buttons .btn {

        max-width: 78px;

        height: 34px;

        padding: 0 3px;

        border-radius: 17px;

        gap: 3px;

        font-size: 8px;

    }


    .hero-buttons .btn i {

        font-size: 9px;

    }

}

/*=========================================
PROMPT WORKSPACE
=========================================*/

.prompt-workspace {
    padding: 80px 0;
    padding-top: 20px;
}

.workspace-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 35px;
    align-items: start;
}

.workspace-editor {
    background: #0f172a;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);

}

.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.workspace-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.workspace-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, .15);
    color: #8b5cf6;
    font-size: 20px;
}

.workspace-title h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.workspace-title span {
    color: #94a3b8;
    font-size: 13px;
}

.workspace-actions {
    display: flex;
    gap: 10px;
    align-items: center;

}

.workspace-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 12px;
    background: #1e293b;
    color: #fff;
    cursor: pointer;
    transition: .3s;
    flex-shrink: 0;
}

.workspace-btn:hover {
    background: var(--primary);
}

.workspace-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #facc15;
}

.green {
    background: #22c55e;
}

.workspace-tools {
    display: flex;
    gap: 10px;
}

.workspace-tools button {
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
}

.workspace-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.workspace-tabs button {
    flex: 1;
    padding: 18px;
    background: none;
    color: #cbd5e1;
    border: none;
    cursor: pointer;
}

.workspace-tabs .active {
    color: #fff;
    background: #1e293b;
}

.tab-content {
    display: none;
    padding: 35px;
}

.tab-content.active {
    display: block;
}

.tab-content pre {
    color: #e2e8f0;
    line-height: 2;
    font-family: "JetBrains Mono", monospace;
    white-space: pre-wrap;
}

.workspace-body {
    padding: 0px;
    /* padding: 30px; */
}

.workspace-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.workspace-badge {
    background: rgba(99, 102, 241, .08);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

.workspace-label small {
    color: var(--text-light);
}

.workspace-content {
    background: #111827;
    border-radius: 18px;
    padding: 30px;
    max-height: 650px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .08);
}

.workspace-content pre {
    margin: 0;
    color: #dbe4f3;
    font-family: "JetBrains Mono", monospace;
    line-height: 2;
    font-size: 15px;
    white-space: pre-wrap;
}

.workspace-content::-webkit-scrollbar {
    width: 8px;
}

.workspace-content::-webkit-scrollbar-track {
    background: #1f2937;
}

.workspace-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 50px;
}

.workspace-footer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding: 25px 30px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}


.workspace-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-btn {
    display: block;
    text-align: center;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);

    width: 100%;
    border: none;
    cursor: pointer;
    transition: .35s;
    font-size: 15px;
    font-weight: 600;
}


.sidebar-btn.primary {
    /* background: linear-gradient(135deg, var(--primary), var(--secondary)); */
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
}

.sidebar-btn:hover {
    transform: translateY(-3px);
}

.sidebar-btn.liked {
    background: #ef4444;
    color: #fff;
}

/*=========================================
GENERATED RESULTS
=========================================*/

.generated-results {
    padding: 80px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.result-large,
.result-small {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.result-large img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: .4s;
}

.result-small img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: .4s;
}

.result-large:hover img,
.result-small:hover img {
    transform: scale(1.08);
}

/*=========================================
Community Showcase CTA
=========================================*/

.community-showcase {
    margin-top: 50px;
    padding: 35px;
    border-radius: 24px;
    background: linear-gradient(135deg, #EEF4FF, #F9FAFF);
    border: 1px solid rgba(79, 70, 229, .12);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.community-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #4F46E5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.community-content h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.community-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 22px;
}

.community-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.community-info div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.community-info i {
    color: var(--primary);
    width: 22px;
}

.community-info strong {
    color: var(--primary);
}

@media(max-width:768px) {
    .community-showcase {
        flex-direction: column;
    }
}

/*=========================================
ABOUT PROMPT
=========================================*/

.about-prompt {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.about-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 22px;
    /* box-shadow: var(--shadow); */
    box-shadow: 0 12px 35px rgba(0, 0, 0, .04);
    transition: .35s;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(79, 70, 229, .08);
}

.about-card h3 {
    margin-bottom: 16px;
}

.about-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(79, 70, 229, .08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

/*=========================================
SPECIFICATIONS
=========================================*/

.prompt-specifications {

    padding: 80px 0;

}

.spec-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

    margin-top: 40px;

}

.spec-card {

    background: #fff;

    padding: 28px;

    border-radius: 22px;

    box-shadow: var(--shadow);

    text-align: center;

    transition: .3s;

}

.spec-card:hover {

    transform: translateY(-6px);

}

.spec-card span {

    display: block;

    font-size: 14px;

    color: var(--text-light);

    margin-bottom: 12px;

}

.spec-card strong {

    font-size: 18px;

    color: var(--primary);

}

/*=========================================
GENERATED GALLERY
=========================================*/

.generated-gallery {

    padding: 90px 0;
    padding-top: 0px;
}

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

    margin-top: 50px;

}

.gallery-item {

    position: relative;

    overflow: hidden;

    border-radius: 22px;

    box-shadow: var(--shadow);

}

.gallery-item img {

    width: 100%;

    display: block;

    aspect-ratio: 1;

    object-fit: cover;

    transition: .5s;

}

.gallery-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(0, 0, 0, .55);

    color: #fff;

    font-size: 18px;

    font-weight: 600;

    opacity: 0;

    transition: .35s;

    backdrop-filter: blur(4px);

}

.gallery-item:hover img {

    transform: scale(1.08);

}

.gallery-item:hover .gallery-overlay {

    opacity: 1;

}

/*=========================================
GALLERY MODAL
=========================================*/

.gallery-modal {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .92);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    visibility: hidden;

    transition: .35s;

    z-index: 99999;

}

.gallery-modal.active {

    opacity: 1;

    visibility: visible;

}

.gallery-modal img {

    max-width: 90%;

    max-height: 85vh;

    border-radius: 20px;

    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);

}

.gallery-close {

    position: absolute;

    top: 30px;

    right: 40px;

    color: #fff;

    font-size: 42px;

    cursor: pointer;

}

.gallery-nav {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 56px;

    height: 56px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, .15);

    color: #fff;

    cursor: pointer;

    font-size: 22px;

    transition: .3s;

}

.gallery-nav:hover {

    background: var(--primary);

}

.gallery-nav.prev {

    left: 35px;

}

.gallery-nav.next {

    right: 35px;

}

/*=========================================
    Prompt Info Card
=========================================*/

.prompt-info-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 28px 0;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.info-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(79, 70, 229, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
}

.info-item small {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.info-item strong {
    font-size: 16px;
    color: var(--heading);
}

.info-divider {
    width: 1px;
    align-self: stretch;
    background: var(--border);
}

@media(max-width:768px) {
    .prompt-info-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-divider {
        display: none;
    }
}

/*=========================================
    Prompt Info Card - Mobile
=========================================*/

@media (max-width: 600px) {

    .prompt-info-card {
        width: 100%;
        box-sizing: border-box;

        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;

        gap: 10px;

        /* margin: 18px 0; */
        margin: 0px 0 18px auto;
        padding: 12px 14px;

        border-radius: 16px;

        box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
    }


    /* =====================================
       EACH ITEM
    ===================================== */

    .prompt-info-card .info-item {
        width: 50%;

        display: flex !important;
        flex-direction: row !important;
        align-items: center;

        gap: 9px;

        flex: 1 1 50%;

        min-width: 0;
    }


    /* =====================================
       ICON
    ===================================== */

    .prompt-info-card .info-icon {
        width: 36px;
        height: 36px;

        min-width: 36px;

        border-radius: 10px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 15px;
    }


    /* =====================================
       TEXT CONTAINER
    ===================================== */

    .prompt-info-card .info-item>div:last-child {
        min-width: 0;
        flex: 1;
    }


    /* =====================================
       LABEL
    ===================================== */

    .prompt-info-card .info-item small {
        display: block;

        margin: 0 0 2px;

        font-size: 9px;

        line-height: 1.2;

        white-space: nowrap;
    }


    /* =====================================
       VALUE
    ===================================== */

    .prompt-info-card .info-item strong {
        display: block;

        font-size: 12px;

        line-height: 1.3;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* =====================================
       DIVIDER
    ===================================== */

    .prompt-info-card .info-divider {
        width: 1px;
        min-width: 1px;

        height: 38px;

        align-self: center;

        background: var(--border);
    }

}

/*=========================================
Prompt Guide
=========================================*/

.prompt-guide {
    padding: 0px 0;
}

.guide-card-blade {
    display: flex;
    gap: 25px;
    margin-top: 35px;
    padding: 35px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .04);
}

.guide-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(79, 70, 229, .08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.guide-card-blade h3 {
    margin-bottom: 16px;
}

.guide-content {
    color: var(--text-light);
    line-height: 2;
}

@media(max-width:768px) {
    .guide-card-blade {
        flex-direction: column;
    }
}


/***************  RESPONSIVE  ***************/

@media(max-width:991px) {

    .prompt-hero-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    /*
    .workspace-layout {

        grid-template-columns: 1fr;

    }

    .workspace-sidebar {

        position: relative;

        top: auto;

        order: -1;

    }
        */

    .workspace-layout {

        display: flex;

        flex-direction: column;

    }

    .workspace-editor {

        order: 1;

    }

    .workspace-sidebar {

        order: 2;

        position: static;

        width: 100%;

        margin-top: 24px;

    }

}

/*=========================================
    Prompt Stats - Mobile
=========================================*/

@media (max-width: 600px) {

    .prompt-stats {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch;

        gap: 8px;

        width: 100%;
    }


    .prompt-stats .stat-card {
        flex: 1 1 0;
        min-width: 0;

        padding: 12px 6px;

        border-radius: 13px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        min-height: 88px;
    }


    /* Icon */

    .prompt-stats .stat-card i {
        font-size: 17px;

        margin-bottom: 7px;
    }


    /* Number */

    .prompt-stats .stat-card strong {
        font-size: 16px;

        line-height: 1.2;

        margin-bottom: 5px;

        white-space: nowrap;
    }


    /* Label */

    .prompt-stats .stat-card span {
        font-size: 10px;

        line-height: 1.2;

        white-space: nowrap;
    }

}

@media(max-width:768px) {

    .workspace-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 14px;
        display: block;
    }

    .workspace-actions {
        width: 100%;
        /* display: grid; */
        display: flex;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: auto;
        gap: 10px;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .workspace-actions::-webkit-scrollbar {
        display: none;
    }

    .workspace-btn {
        justify-content: center;
        flex: 0 0 auto;
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 8px;
        white-space: nowrap;
    }

    .workspace-title {
        margin-bottom: 15px;
    }

    .workspace-title h3 {
        font-size: 15px;
    }

    .workspace-title span {
        font-size: 11px;
    }

    .workspace-editor {
        width: 100%;
        min-width: 0;
    }

    .workspace-body {
        width: 100%;
        overflow: hidden;
    }

    .workspace-content {
        width: 100%;
        min-width: 0;
        max-height: 360px;
        padding: 16px;
    }

    .workspace-content pre {
        white-space: pre-wrap;
        word-break: break-word;
        overflow-wrap: anywhere;
        font-size: 12px;
        line-height: 1.8;
    }

    .workspace-sidebar {
        margin-top: 18px;
        gap: 18px;
    }

    .sidebar-btn {
        padding: 12px;
        margin-bottom: 8px;
        font-size: 13px;
    }

    .workspace-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .prompt-hero {
        padding: 0px 0;
    }

    .prompt-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .prompt-rating {
        justify-content: center;
    }

    .prompt-summary {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100%;
        max-width: 360px;
    }

    .prompt-summary h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .prompt-info {
        padding: 18px;
    }

    .prompt-info li {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .prompt-tags {
        gap: 8px;
        margin: 15px 0;
        justify-content: center;
    }

    .prompt-tags a {
        padding: 7px 12px;
        font-size: 12px;
    }

    .prompt-stats {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .prompt-stats div {
        padding: 10px;
        border-radius: 12px;
    }

    .prompt-stats strong {
        font-size: 18px;
    }

    .prompt-stats span {
        font-size: 11px;
    }

    .preview-main {
        width: 100%;
        border-radius: 22px;

    }

    .preview-main img {
        aspect-ratio: 1/1.15;
        object-fit: cover;
        height: auto;
        max-height: 500px;
        border-radius: 18px;
    }

    .preview-view-btn {
        opacity: 1;
        transform: none;
        padding: 10px 14px;
        font-size: 13px;
        right: 12px;
        bottom: 12px;
    }

    .preview-thumbs {
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 6px;
        scrollbar-width: none;
        margin-top: 10px;
    }

    .preview-thumbs::-webkit-scrollbar {
        display: none;
    }

    .preview-thumbs img {

        flex: 0 0 70px;

        width: 70px;

        height: 70px;

    }

    .hero-buttons {
        display: grid;
        /* grid-template-columns: 1fr 1fr; */
        gap: 10px;
    }




    /* .hero-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 10px;
    } */

    .hero-copy-btn {
        width: 100%;
    }

    .hero-save-btn {
        width: 100%;
    }

    .hero-save-btn i {
        transition: all .35s ease;
    }

    /* .hero-buttons .btn-primary {
        grid-column: 1/-1;
    } */

    .about-grid {
        grid-template-columns: 1fr;
    }

    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .spec-card {
        padding: 16px;
        border-radius: 16px;
    }

    .spec-card span {
        font-size: 12px;
    }

    .spec-card strong {
        font-size: 15px;
    }

    .prompt-gallery {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    /* .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    } */

    .generated-gallery .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        align-items: start;
    }

    .gallery-item {
        border-radius: 14px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .share-btn {
        width: 90px;
    }

    .creator-mini {
        padding: 12px;
        gap: 10px;
        margin-bottom: 15px;
    }

    .creator-mini img {
        width: 42px;
        height: 42px;
    }

    .creator-mini strong {
        font-size: 13px;
    }

    .creator-mini span {
        font-size: 11px;
    }

    .about-card {
        padding: 18px;
        border-radius: 18px;
    }

    .about-card h3 {
        font-size: 16px;
    }

    .about-card p {
        font-size: 13px;
    }
}

@media(max-width:480px) {
    .prompt-summary h1 {
        font-size: 30px;
    }

    .preview-main {
        max-width: 360px;
        margin: auto;
    }

    .preview-main img {
        width: 100%;
        height: auto;
        max-height: 500px;
        aspect-ratio: 1/1.15;
    }

    .preview-thumbs {
        justify-content: center;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .creator-mini {
        justify-content: center;
        text-align: left;
    }
}


/*=========================================
   RESPORT PROMPT MODAL
=========================================*/
.report-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .65);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 99999;
}

.report-modal.active {
    opacity: 1;
    visibility: visible;
}

.report-box {
    width: min(520px, 92%);
    background: var(--card);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 85vh;
    overflow-y: auto;
}

.report-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .05);
}

.report-header {
    text-align: center;
    margin-bottom: 24px;
}

.report-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: auto;
    display: grid;
    place-items: center;
    background: #FEE2E2;
    color: #DC2626;
    font-size: 28px;
    margin-bottom: 16px;
}

.report-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: .3s;
}

.report-option:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, .05);
}

.report-box textarea {
    width: 100%;
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    resize: vertical;
}

.report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

@media(max-width:768px) {

    .report-modal {
        padding: 20px;
        align-items: flex-end;
    }

    .report-box {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 22px 22px 0 0;
        padding: 24px 18px;
        animation: slideUp .3s ease;
    }

    .report-header {
        margin-bottom: 20px;
    }

    .report-header h3 {
        font-size: 24px;
    }

    .report-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    .report-option {
        padding: 14px;
        font-size: 15px;
    }

    .report-box textarea {
        min-height: 120px;
    }

    .report-actions {
        flex-direction: column;
        position: sticky;
        bottom: -24px;
        background: var(--card);
        padding-top: 16px;
        margin-top: 20px;
    }

    .report-actions .btn {
        width: 100%;
    }

    .report-close {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
    }

    @keyframes slideUp {

        from {
            transform: translateY(100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}


/*=========================================
SUGGEST EDIT MODAL
=========================================*/

.suggest-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .65);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 99999;
}

.suggest-modal.active {
    opacity: 1;
    visibility: visible;
}

.suggest-box {
    width: min(560px, 92%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--card);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.suggest-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(0, 0, 0, .05);
}

.suggest-header {
    text-align: center;
    margin-bottom: 28px;
}

.suggest-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: auto;
    display: grid;
    place-items: center;
    background: #EEF2FF;
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 18px;
}

.suggest-header h3 {
    margin-bottom: 10px;
}

.suggest-header p {
    color: var(--text-light);
}

.suggest-box label {
    display: block;
    font-weight: 600;
    margin: 18px 0 8px;
}

.suggest-box select,
.suggest-box textarea,
.suggest-box input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    background: #fff;
    font-size: 15px;
    transition: .3s;
}

.suggest-box textarea {
    resize: vertical;
    min-height: 140px;
}

.suggest-box select:focus,
.suggest-box textarea:focus,
.suggest-box input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .08);
}

.suggest-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}

@media(max-width:768px) {
    .suggest-modal {
        padding: 18px;
        align-items: flex-end;
    }

    .suggest-box {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 24px 18px;
    }

    .suggest-actions {
        flex-direction: column;
    }

    .suggest-actions .btn {
        width: 100%;
    }
}