.idea-page {
    max-width: 1120px;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.idea-breadcrumb {
    margin-bottom: 1rem;
}

.idea-breadcrumb a {
    color: #7640d8;
    text-decoration: none;
}

.idea-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid rgba(145, 76, 225, .2);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(230, 49, 160, .14), transparent 32%),
        linear-gradient(135deg, #fbf8ff, #fff 58%, #f3faff);
    box-shadow: 0 12px 35px rgba(48, 35, 81, .08);
}

.idea-hero::after {
    position: absolute;
    right: -3.2rem;
    bottom: -5rem;
    width: 13rem;
    height: 13rem;
    border: 1px solid rgba(124, 58, 237, .15);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.idea-eyebrow {
    margin-bottom: .55rem;
    color: #7640d8;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.idea-hero h1 {
    margin-bottom: .65rem;
    color: #39245f;
    font-size: clamp(1.8rem, 4vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -.025em;
}

.idea-hero p:last-child {
    max-width: 700px;
    margin-bottom: 0;
    color: #5f6070;
    font-size: 1.04rem;
}

.idea-panel,
.idea-results,
.idea-info {
    border: 1px solid #e7e4ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(36, 26, 61, .06);
}

.idea-panel .card-body,
.idea-results .card-body,
.idea-info .card-body {
    padding: clamp(1rem, 3vw, 1.5rem);
}

.idea-panel h2,
.idea-results h2,
.idea-info h2 {
    color: #33234f;
    font-size: 1.2rem;
    font-weight: 750;
}

.idea-form label {
    margin-bottom: .4rem;
    color: #373345;
    font-weight: 650;
}

.idea-form .form-control,
.idea-form .form-select {
    min-height: 46px;
    border-color: #dcd8e7;
    border-radius: 11px;
}

.idea-form .form-control:focus,
.idea-form .form-select:focus {
    border-color: #9652e7;
    box-shadow: 0 0 0 .2rem rgba(150, 82, 231, .15);
}

.idea-submit {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(100deg, #8641df, #df269e);
    color: #fff;
    font-weight: 750;
    box-shadow: 0 7px 18px rgba(176, 48, 190, .2);
}

.idea-submit:hover,
.idea-submit:focus {
    background: linear-gradient(100deg, #7030c8, #c91a8e);
    color: #fff;
}

.idea-submit:disabled {
    cursor: wait;
    opacity: .7;
}

.idea-disclaimer {
    margin: .85rem 0 0;
    color: #686678;
    font-size: .88rem;
}

.idea-status {
    min-height: 1.5rem;
    margin-bottom: 1rem;
    color: #5c5969;
    font-size: .94rem;
}

.idea-status[data-kind="error"] {
    color: #a32136;
}

.idea-status[data-kind="success"] {
    color: #167247;
}

.idea-status[data-kind="info"] {
    color: #5e45a2;
}

.idea-results-list {
    display: grid;
    gap: .75rem;
}

.idea-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid #e8e3ef;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff, #fbf9ff);
}

.idea-result-card h3 {
    margin: 0 0 .3rem;
    color: #5f34b1;
    font-size: 1.05rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.idea-result-card p {
    margin: 0;
    color: #666274;
    font-size: .9rem;
}

.idea-copy-one,
.idea-copy-all {
    flex: 0 0 auto;
    border: 1px solid #d9c9f1;
    border-radius: 10px;
    background: #fff;
    color: #6536b1;
    font-weight: 650;
}

.idea-copy-one {
    padding: .45rem .65rem;
}

.idea-copy-all {
    padding: .5rem .8rem;
}

.idea-copy-one:hover,
.idea-copy-all:hover:not(:disabled) {
    border-color: #8544dc;
    background: #f7f0ff;
}

.idea-copy-all:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.idea-info {
    margin-top: 1.5rem;
}

.idea-info p:last-child {
    margin-bottom: 0;
}

html[data-theme="dark"] .idea-hero {
    border-color: #42345b;
    background:
        radial-gradient(circle at 90% 10%, rgba(230, 49, 160, .13), transparent 32%),
        linear-gradient(135deg, #211c31, #191c29 58%, #17232f);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] .idea-hero h1,
html[data-theme="dark"] .idea-panel h2,
html[data-theme="dark"] .idea-results h2,
html[data-theme="dark"] .idea-info h2 {
    color: #eee8fa;
}

html[data-theme="dark"] .idea-hero p:last-child,
html[data-theme="dark"] .idea-form label,
html[data-theme="dark"] .idea-disclaimer,
html[data-theme="dark"] .idea-info p,
html[data-theme="dark"] .idea-result-card p,
html[data-theme="dark"] .idea-status {
    color: #c4c0d0;
}

html[data-theme="dark"] .idea-panel,
html[data-theme="dark"] .idea-results,
html[data-theme="dark"] .idea-info {
    border-color: #373747;
    background: #20202d;
    color: #eeeaf6;
}

html[data-theme="dark"] .idea-form .form-control,
html[data-theme="dark"] .idea-form .form-select {
    border-color: #4b485e;
    background-color: #181824;
    color: #f3effb;
}

html[data-theme="dark"] .idea-form .form-control::placeholder {
    color: #9894a8;
}

html[data-theme="dark"] .idea-result-card {
    border-color: #3e3a50;
    background: linear-gradient(135deg, #242331, #211e2d);
}

html[data-theme="dark"] .idea-result-card h3 {
    color: #c7a4ff;
}

html[data-theme="dark"] .idea-copy-one,
html[data-theme="dark"] .idea-copy-all {
    border-color: #5b4b78;
    background: #2b2638;
    color: #dcc8ff;
}

html[data-theme="dark"] .idea-copy-one:hover,
html[data-theme="dark"] .idea-copy-all:hover:not(:disabled) {
    background: #393047;
}

@media (max-width: 575.98px) {
    .idea-page {
        padding-top: 1rem;
    }

    .idea-result-card {
        align-items: flex-start;
    }

    .idea-copy-one {
        padding: .4rem .55rem;
        font-size: .86rem;
    }
}

/* Use the shared public-generator layout for the business and domain tools. */
.idea-page {
    max-width: 1140px;
    padding-top: 0;
}

.idea-generator-section .idea-generator-card {
    width: 100%;
}

.idea-generator-title {
    line-height: 1.35;
}

.idea-generator-subtitle {
    color: #626273;
    font-size: clamp(.8rem, 2vw, .9rem);
}

.idea-form {
    max-width: 920px;
    margin: 0 auto;
}

.idea-form label {
    display: block;
    margin: 0 0 .3rem;
    color: #4b4657;
    font-size: .82rem;
    font-weight: 650;
}

.idea-form .form-control,
.idea-form .form-select {
    min-height: 40px;
    border-radius: 8px;
    font-size: .9rem;
}

.gn-btn-generate {
    min-height: 40px;
    padding: .5rem 1.6rem;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #7c3aed, #e91e8c);
    color: #fff;
    font-size: .95rem;
    font-weight: 650;
    transition: opacity .2s, transform .15s;
}

.gn-btn-generate:hover,
.gn-btn-generate:focus {
    color: #fff;
    opacity: .9;
    transform: translateY(-1px);
}

.gn-btn-generate:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.idea-disclaimer {
    margin: .65rem auto 0;
    font-size: .79rem;
}

.idea-results {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.idea-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    margin-bottom: .5rem;
    padding: 6px 0;
    border-bottom: 2px solid #ede9fe;
    color: #7c3aed;
    font-size: .92rem;
    font-weight: 700;
}

.idea-results-header > span {
    min-width: 0;
}

.idea-results-header .badge {
    vertical-align: .08em;
}

.idea-copy-all {
    flex: 0 0 auto;
    padding: .2rem .45rem;
    border-radius: 6px;
    font-size: .76rem;
    font-weight: 600;
}

.idea-status {
    min-height: 1.15rem;
    margin: 0 0 .5rem;
    font-size: .78rem;
}

.idea-results-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    max-height: 460px;
    overflow-y: auto;
    padding: 0 3px 2px 0;
}

.idea-result-card {
    display: flex;
    min-width: 0;
    min-height: 82px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 8px 10px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
}

.idea-result-card h3,
.idea-result-card .gn-name {
    margin: 0;
    color: #7c3aed;
    font-size: .88rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.idea-result-card p,
.idea-result-card .gn-meaning {
    margin: 0;
    color: #33313b;
    font-size: .76rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.idea-result-card .gn-btns {
    display: flex;
    gap: 4px;
    margin-top: 1px;
}

.idea-result-card .idea-copy-one {
    min-width: 24px;
    min-height: 22px;
    padding: .05rem .32rem;
    border-radius: 4px;
    line-height: 1.25;
}

.idea-info {
    margin-top: 1.5rem;
}

.idea-info h2 {
    margin-bottom: .5rem;
}

.idea-info p:last-child {
    margin-bottom: 0;
}

html[data-theme="dark"] .idea-generator-subtitle {
    color: #c4c0d0 !important;
}

html[data-theme="dark"] .idea-results {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .idea-results-header {
    border-bottom-color: rgba(139, 92, 246, .25);
    color: #c4a4ff;
}

html[data-theme="dark"] .idea-result-card {
    border-color: rgba(139, 92, 246, .25);
    background: rgba(22, 20, 42, .9);
}

html[data-theme="dark"] .idea-result-card h3,
html[data-theme="dark"] .idea-result-card .gn-name {
    color: #c4a4ff;
}

html[data-theme="dark"] .idea-result-card p,
html[data-theme="dark"] .idea-result-card .gn-meaning {
    color: #d0cbdc;
}

html[data-theme="dark"] .idea-generator-section #tool-stats-bar {
    border-color: rgba(167, 139, 250, .25) !important;
    background: linear-gradient(135deg, rgba(124, 58, 237, .14), rgba(233, 30, 140, .12)) !important;
    color: #d0cbdc !important;
}

@media (max-width: 767.98px) {
    .idea-results-list {
        grid-template-columns: 1fr;
        max-height: 420px;
    }

    .idea-generator-section .card-body {
        padding: 1rem !important;
    }
}
