.sp-content-frame {
    padding: 20px;
}

.sp-panel-title {
    font-size: 1.2em;
    color: var(--primary-text-color);
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.sp-panel-title.help {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    font-size: 1.5rem;
    text-align: left !important;
    align-items: normal !important;
    margin-top: 55px;
}

.sp-panel-title.medium {
    font-size: 1.5rem;
}

.sp-panel-title .sectiontitlea {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: inherit;
    text-align: left !important;
    margin-bottom: 0px;
}

.sp-panel-title .arrow {
    font-size: inherit; 
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.sp-panel-title .arrow-up {
    display: none; 
}

.sp-panel-title .arrow-down {
    display: inline-block; 
}

.sp-panel-title .sectiontitleb {
    margin-top: 5px;
    font-size: 0.7em; 
    line-height: normal;
    margin-bottom: 0px;
}

.sp-panel-title .title-text {
    font-size: inherit; 
    line-height: 1.2;
    text-align: left;
}

.sp-content-entry {
    display: block;
    align-items: center;
    background-color: var(--highlight-color);
    color: var(--faded-title-darkmode);
    border-radius: 50px;
    padding: 15px;
    min-width: 65%;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    clear: both;
    margin-top: 15px;
    min-height: 80px;
}

.ticketbuttons {
    margin-top: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
}

.sp-content-entry.lightmode {
    display: flex;
    align-items: center;
    background-color: var(--highlight-alt);
    color: var(--faded-dark-color);
    border-radius: 50px;
    padding: 15px;
    min-width: 65%;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    clear: both;
}

.sp-content-entry.portfolio {
    min-width: inherit;
    border-radius: 15px;
}

.sp-content-details.portfolio {
    width: 100%;
}

.sp-content-entry h3 {
    margin: 0;
    font-size: 1.2em;
}

.sp-content-entry p {
    margin: 5px 0;
    font-size: 1em;
}

.sp-content-entry small {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #555;
}

.sp-icon-circle {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 20px;
    display: inline-block;
    align-items: center;
    justify-content: center;
    background-color: var(--bow-flip);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
}

.sp-icon-circle.lightmode {
    background-color: var(--background-color);
}

.sp-icon-circle.step {
    color: var( --row-flip );
    background-color: var( --red-or-white );
    font-size: 1.2rem;
    line-height: 45px;
}

.sp-icon-circle.answers {
    color: var( --gob-flip );
    background-color: var( --gold-or-white );
}

.sp-icon-circle.spaces {
    color: var( --blow-flip );
    background-color: var( --blue-or-white );
    font-size: 1.2rem;
    line-height: 50px;
}

.sp-icon-circle.content {
    color: var( --blow-flip );
    background-color: var( --blue-or-white );
    font-size: 1.2rem;
    line-height: 45px;
}

.sp-icon-circle.schedule {
    color: var( --blow-flip );
    background-color: var( --blue-or-white );
    font-size: 1.2rem;
    line-height: 45px;
}

.sp-icon-circle.promotional {
    color: var( --row-flip );
    background-color: var( --red-or-white );
    font-size: 1.2rem;
    line-height: 50px;
}

.sp-icon-circle.educational {
    color: var( --blow-flip );
    background-color: var( --blue-or-white );
    font-size: 1.2rem;
    line-height: 50px;
}

.sp-icon-circle.story {
    color: var( --gow-flip );
    background-color: var( --gold-or-white );
    font-size: 1.2rem;
    line-height: 50px;
}

.sp-content-details {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 70px);
    box-sizing: border-box;
    padding-left: 10px;
}

.sp-top-row {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
}

.sp-top-row, .sp-details-row {
    display: flex; 
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--faded-title-darkmode);
}

.sp-content-name {
    font-size: 1em;
    color: var(--primary-text-color);
    font-weight: bold;
    margin-bottom: 2px;
    text-align: left; 
}

.sp-content-name a {
    text-decoration: underline;
}

.sp-content-publish {
    text-align: right;
    font-style: italic;
    color: var(--faded-title-darkmode);
    text-align: right; 
    padding-right: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: auto;
    flex-shrink: 0;
}

.sp-content-publish.published {
    font-style: normal;
    color: var(--salmon-red) !important;
    text-decoration: underline;
}

.sp-content-publish.approved {
    font-style: normal;
    color: var(--salmon-red) !important;
    text-decoration: underline;
}

.answers .sp-content-publish.published {
    color: var(--golden-yellow) !important;
    text-decoration: underline;
}

.answers .sp-content-publish.published {
    color: var(--primary-text-color) !important;
    text-decoration: underline;
}

.indyanswer {
    margin-bottom: 12px !important;
}

.sp-date-created {
    text-align: right;
    margin-right: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: auto;
    flex-shrink: 0;
}

.sp-date-created.answers.help {
    text-align: left;
    margin: 0;
    padding: 0;
}

.sp-content-entry .sp-content-category, .sp-content-entry .sp-content-link a, .sp-content-entry .sp-content-created, .sp-content-entry .sp-content-publish {
    font-size: 1em;
    margin-right: 0px;
    color: var(--faded-title-darkmode);
}

.sp-content-entry.answers, .sp-content-category.answers, .sp-content-entry.answers .sp-content-link.answers a, .sp-content-entry.answers .sp-content-created.answers, .sp-content-entry.answers .sp-content-publish.answers {
    margin: 0px;
    padding: 0px;
}

.sp-content-entry.lightmode .sp-content-category, .sp-content-entry.lightmode .sp-content-link a, .sp-content-entry.lightmode .sp-content-created, .sp-content-entry.lightmode .sp-content-publish {
    color: var(--secondary-text-color);
}

.sp-content-link a {
    text-decoration: none;
}

.sp-content-link a:hover {
    text-decoration: underline;
}

.arrow-down, .arrow-up {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
}

.arrow-down {
    border-top: 9px solid var(--primary-text-color);
}

.arrow-up {
    border-bottom: 9px solid var(--primary-text-color); 
}

.introductory-text {
    font-size: 1em;
    color: var(--primary-text-color);
    margin: 10px 0 20px; 
    line-height: 1.4;
    text-align: justify;
    margin-bottom: 50px;
    width: 87%;
}

.introductory-text.help {
    margin-bottom: 0px !important;
    text-align: left !important;
}

.schedulegraph {
    width: 65%;
    min-width: 400px;
    background-color: var(--highlight-color);
    border-radius: 50px;
    padding: 15px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.schedulegraph svg {
    display: block;
    margin: 0 auto;
}

.sp-panel-title.schedule {
    margin-top: 20px;
}

.sp-panel-title.help {
    margin-top: 55px;
}

.sp-panel-title.progress {
    margin-top: 0px;
}

.sp-panel-title.medium {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.sp-panel-title.large {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.sp-panel-title.inset {
    text-align: center;
    width: 65%;
    min-width: 400px;
}

.sp-published-platforms {
    position: relative;
    padding: 30px;
    padding-top: 5px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    background-color: var(--faded-light-color);
    min-width: 55%;
    margin-left: 5%;
    margin-right: 5%;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sp-published-platforms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
    z-index: 1;
}

.sp-published-platforms.lightmode {
    background-color: var( --faded-light-color );
}

.sp-published-platforms h4 {
    font-style: Raleway-Semibold;
    margin-bottom: 10px;
    color: var(--primary-text-color);
}

.sp-published-platforms ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-published-platforms li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.sp-published-platforms a {
    text-decoration: none;
    color: var(--secondary-text-color) !important;
    margin-left: 10px;
}

.sp-publishlink {
    color: var(--secondary-text-color) !important;
    text-decoration: none;
    font-size: 1em;
    margin-left: 6px;
}

.sp-publishlink a {
    font-style: italic;
    font-style: normal;
    text-decoration: underline;
    margin-left: 0px;
    margin-right: 0px;
}

.sp-content-status {
    padding-right: 15px;
}

.sp-setup-level {
    padding-right: 15px;
}

.sp-edit {
    color: var( --faded-title-darkmode ); 
    text-decoration: underline; 
    cursor: pointer;
}

.check-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

.sp-content-frame.answers {
    padding: 40px;
}

.sp-content-entry.answers {
    padding: 37px;
    padding-right: 45px;
    width: 90%;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    box-sizing: border-box;
}

.sp-icon-column.answers {
    flex-shrink: 0;
    margin-right: 15px;
}

.sp-icon-circle.answers {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.sp-content-details.answers {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.sp-top-row.answers {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.sp-content-name.answers {
    font-size: 1em;
    color: var(--primary-text-color);
    font-weight: bold;
    text-align: left;
    flex: 2;
}

.sp-content-category.answers {
    font-size: 0.9em;
    color: var(--secondary-text-color);
    margin-left: 0px;
    flex-shrink: 0;
}

.sp-content-publish.answers {
    font-size: 0.9em;
    text-align: right;
    font-style: italic;
    color: var(--faded-title-darkmode);
    flex-shrink: 0;
    margin-left: auto;
}

.sp-content-publish.answers.published {
    font-style: normal;
    color: var(--primary-text-color);
    text-decoration: underline;
    margin-right: 0px;
}

.sp-date-created.answers {
    font-size: 0.9em;
    text-align: right;
    color: var(--faded-title-darkmode);
    margin-left: 15px;
    flex-shrink: 0;
    margin-right: 0px;
}

.sp-answer-row.answers {
    display: block;
    font-size: 1em;
    color: var(--secondary-text-color);
    margin-top: 15px;
    text-align: justify;
    width: 100%;
    line-height: 1.5;
    border-top: 1px solid var(--highlight-color);
    padding-top: 15px;
    box-sizing: border-box;
}

.sp-answer-row p {
    margin-right: 0px;
}

.update-button {
    background-color: var(--golden-yellow);
    color: var(--background-color);
    border: none;
    font-size: 0.9em;
    border-radius: 15px;
    padding: 3px 15px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.update-button.help {
    margin-top: 12px;
    margin-right: 12px;
}

.update-button.lightmode {
    color: var( --primary-text-color );
}

.update-button:hover {
    background-color: #f4c542;
    color: white;
}

.sp-answer-row.introductory-text {
    width: calc( 100% );
    margin-bottom: 0px;
}

.sp-content-publish.answers {
    padding-right: 0px;
}

.sp-submit-button-mini {
    background-color: #242529;
    color: #ffffff;
    border-radius: 15px;
    padding: 5px 18px;
    border: 0px;
    font-size: 0.9em;
    cursor: pointer;
}

.linebox {
    padding: 25px;
    padding-left: 30px;
    background-color: #242529;
    border-radius: 25px;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='25' ry='25' stroke='white' stroke-width='4' stroke-dasharray='4%2c 6' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
border-radius: 25px;
}

.permalight {
    color: var( --permalight ) !important;
    margin-top: 0px;
}

.search {
    position: relative;
    display: inline-block;
    width: 260px;
    max-width: 260px;
    margin-bottom: 20px;
    border: 1px solid var(--faded-dark-color);
    border-radius: 25px;
    background-color: var(--search-bar);
    box-sizing: border-box;
    padding-left: 40px;
}

.search.lightmode {
    position: relative;
    display: inline-block;
    width: 260px;
    max-width: 260px;
    margin-bottom: 20px;
    border: 1px solid var(--secondary-text-color);
    border-radius: 25px;
    background-color: var(--highlight-alt);
    box-sizing: border-box;
    padding-left: 40px;
}

.search-bar {
    width: 100%;
    height: 100%;
    padding: 15px 0;
    font-size: 1em;
    border: none;
    border-radius: 25px;
    background: transparent;
    outline: none;
    color: var(--primary-text-color);
}

.search::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('../image/search-light.png') no-repeat center center;
    background-size: contain;
}

.search.lightmode::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('../image/search-dark.png') no-repeat center center;
    background-size: contain;
}

.glowing-result {
    position: relative;
    animation: pulse-glow 1.5s infinite;
    transition: box-shadow 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.glowing-result.lightmode {
    position: relative;
    animation: pulse-glow-lightmode 1.5s infinite;
    transition: box-shadow 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.6);
        opacity: 0.9;
    }
    100% {
        box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
        opacity: 1;
    }
}

@keyframes pulse-glow-lightmode {
    0% {
        box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.8);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.6);
        opacity: 0.9;
    }
    100% {
        box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.8);
        opacity: 1;
    }
}

#completedTickets .sp-icon-circle.answers {
    background-color: var(--baby-blue);
    color: #ffffff;
}

#completedTickets .update-button {
    background-color: var(--baby-blue);
}

#activeTickets .sp-content-publish.answers.replied {
    color: var(--salmon-red) !important;
    text-decoration: underline;
}

#activeTickets .sp-content-publish.answers.pendingreply {
    color: var(--golden-yellow) !important;
    text-decoration: underline;
}

#completedTickets .sp-content-publish.answers.published {
    color: var(--baby-blue) !important;
    text-decoration: underline;
}

.introductory-text a {
    color: var(--salmon-red);
    text-decoration: underline;
}

.introductory-text a:hover {
    color: var(--salmon-red-light);
}

.ticket-count-message {
    color: var(--salmon-red);
    text-decoration: underline;
    cursor: pointer;
    display: block;
    overflow: hidden;
    height: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease, height 0.3s ease;
}

.ticket-count-message:hover {
    color: var(--salmon-red-light);
}

.ticket-count-message-link {
    color: var(--salmon-red);
    text-decoration: underline;
    cursor: pointer;
}

.ticket-count-message-link:hover {
    color: var(--salmon-red-light);
}

#completedsection {
    margin-top: 33px;
    margin-bottom: 33px;
}

.success-message {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -100%);
    padding: 15px 30px;
    background-color: #4caf50;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    opacity: 0;
    z-index: 9999;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.sp-icon-circle.hot {
    background-color: var(--salmon-red);
    color: #ffffff;
}

.sp-icon-circle.warm {
    background-color: var(--golden-yellow);
    color: #ffffff;
}

.sp-icon-circle.cold {
    background-color: var(--baby-blue);
    color: #ffffff;
}

.error-message {
    color: var( --salmon-red );
    font-style: italic;
    margin-bottom: 25px;
}

.answers-choose-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.answers-choose-panel .answers-cat-panel {
    margin: 0;
}

.answers-choose-panel .answers-cat-panel .answers-cat-panel1-subframe {
    overflow: visible !important;
}

.answers-cat-next-steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    clear: both;
    overflow: visible !important;
}

.answers-cat-next-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 16px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: 0.3s ease-in-out;
    text-align: left;
    width: 250px;
    border: 2px solid var(--baby-blue);
    margin-bottom: 7px;
    overflow: visible;
}

.answers-cat-next-step:hover {
    background: var(--baby-blue);
    color: var(--white);
}

.answers-cat-step-number {
    font-size: 24px;
    font-weight: bold;
    background: var(--baby-blue);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 12px;
}

.answers-cat-step-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.answers-cat-step-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 12px;
    text-align: left;
}

.answers-cat-step-description {
    font-size: 1rem;
    opacity: 0.8;
    min-height: 110px;
    text-align: left;
}

.answers-cat-panel-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.answers-cat-panel-smallhead {
    margin-top: 15px;
    text-align: right;
}

.library-choose-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.library-cat-panel {
    background: var(--light-gray);
    border-radius: 16px;
}

.library-cat-panel1-subframe {
    overflow: visible !important;
}

.library-cat-next-steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.library-cat-next-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: 0.3s ease-in-out;
    text-align: left;
    border: 1px solid var(--golden-yellow);
    width: 222px;
}

.library-cat-next-step:hover {
    background: var(--golden-yellow);
    color: var(--white-or-black);
}

.library-cat-step-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.library-cat-step-number {
    font-size: 24px;
    font-weight: bold;
    background-color: var(--golden-yellow);
    color: var( --white-or-black );
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 12px;
}

.library-cat-step-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 12px;
    text-align: left;
}

.library-cat-step-description {
    font-size: 1rem;
    opacity: 0.8;
    min-height: 110px;
    text-align: left;
}

.sp-content-entry.library {
    width: 70%;
}

.sp-icon-circle.library {
    background-color: var( --golden-yellow );
    color: #000000;
}

.sp-answer-row.introductory-text {
    width: 85%;
}

#sp-collection a {
    text-decoration: underline;
    color: var( --salmon-red );
}

#sp-collection span {
    font-size: 75%;
}