main {

}

.work-info-main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    width: 100%;
    margin: 40px auto;
    font-size: 1.125rem;
    align-items: flex-start;
    color: var(--text-color);
}

.work-info-container {
    width: 60%;
    padding: 30px;
    background-color: var(--second-color);
    border-radius: 15px;
    border: 2px solid var(--base-border-color);
}

.work-info-container .work-type {
    margin-top: 0;
}

.work-info-container h1, .work-info-container h2, .work-info-container h3,  .work-info-container h4 {
    color: white;
}

.work-info-container h1 {
    margin-top: 0;
    font-size: 1.625rem;
}

.work-info-container h2 {
    font-size: 1.5rem;
    text-align: start;
}

.work-info-container h3, .work-info-container h4 {
    margin-bottom: 0;
}

.warning-block {
    background: #181824;
    color: #f5f5fa;
    padding: 12px 12px;
    margin: 15px 0;
    border: 2px solid;
    border-image: linear-gradient(90deg, #6c63ff, #00e0d3) 1;
    font-size: 1.25rem;
}

.content-table ul {
    list-style: none;
    padding-left: 0;
    font-size: 1.25rem;
}

.content-table ul li {
    margin-bottom: 7px;
}

.content-table ul li span:nth-child(1) {
    display: block;
    width: 100%;
}

.content-table ul li a:link, .content-table ul li a:visited {
    text-decoration: none;
    color: var(--text-color);
}

.content-table ul li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.content-table ul li a:hover {
    border-bottom: 1px solid var(--text-color);
    transition: 0.3s ease-in-out;
}


.work-features-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
    padding: 20px;
    background: rgba(40, 40, 48, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.3);
}

.feature-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(30, 30, 38, 0.7);
    border-radius: 10px;
    border-left: 3px solid #6c63ff;
    transition: all 0.3s ease;
}

.feature-card h4 {
    margin-bottom: 3px;
}

.feature-card:hover {
    background: rgba(35, 35, 45, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 50%;
    border: 2px solid rgba(108, 99, 255, 0.3);
}

.feature-icon img {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 3px rgba(108, 99, 255, 0.5));
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: #6c63ff;
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-content p {
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.0625rem;
}

.feature-tasks {
    margin: 0;
    padding-left: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.0625rem;
    list-style: none;
}

.feature-tasks li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 12px;
}

.feature-tasks li:before {
    content: '•';
    color: #6c63ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .work-features-container {
        padding: 10px;
    }

    .feature-card {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-title {
        font-size: 1.15rem;
    }

    .feature-content p,
    .feature-tasks {
        font-size: 1rem;
    }
}

/* Для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .work-features-container {
        padding: 18px;
    }

    .feature-card {
        padding: 18px;
    }
}


.content-wrapper {
    display: flex;
    flex-direction: column;
    column-gap: 30px;
    font-size: 1.25rem;
}

.content-wrapper h3 {
    font-size: 1.375rem;
}

.content-wrapper div {
    line-height: 1.3;
}

.content-wrapper p {
    margin-top: 8px;
}

.content-wrapper ol {
    padding-left: 20px;
    word-break: break-word;
}

.content-wrapper ol li {
    margin-bottom: 8px;
}

#edit-plan-button, #edit-work-button {
    display: block;
    cursor: pointer;
    padding: 12px 22px;
    background: none;
    border-radius: 6px;
    border: 2px solid var(--button-color);
    color: white;
    font-size: 1.125rem;
}

#edit-plan-with-ai-button {
    display: block;
    cursor: pointer;
    padding: 12px 27px;
    background: none;
    border-radius: 6px;
    border: 2px solid #9573CC;
    color: white;
    font-size: 1.125rem;
    margin-top: 13px;
}

#edit-plan-with-ai-button:hover {
    background-color: #9573CC;
    transition: 0.5s ease-in-out;
}

#edit-work-button {
    display: inline-block;
    text-decoration: none;
    font-size: 1.25rem;
}

#edit-plan-button:hover, #edit-work-button:hover {
    background-color: var(--button-color);
    color: black;
    transition: 0.5s ease-in-out;
}

.partition {
    padding-left: 20px;
    margin-bottom: 15px;
    margin-top: 8px;
    list-style: none;
}

#intro {
    margin-top: 20px;
    /*line-height: 1.3;*/
}

.tasks-promo-minimal {
    background: rgba(40, 40, 48, 0.8);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #6c63ff;
    margin: 25px 0 0;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 99, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.promo-header h3 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 1.25rem;
}

.promo-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.minimal-button {
    display: block;
    text-align: center;
    padding: 12px;
    background: #6c63ff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.minimal-button:hover {
    background: #5a52d5;
    transform: translateY(-1px);
}

.aside-container {
    display: flex;
    width: 25%;
    min-width: 310px;
    max-width: 350px;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    position: sticky;
    top: 10px;
}

.aside-container-demo {
    border: 2px solid var(--base-border-color);
    background-color: var(--second-color);
    border-radius: 15px;
    padding: 20px;
    position: sticky;
    top: 10px;
    max-width: 330px;
}

.red {
    border-color: red;
}

.payment-info {
    width: 100%;
    background-color: var(--second-color);
    border-radius: 15px;
    border: 2px solid var(--base-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.payment-info h2, .aside-container-demo h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: center;
}

.features-full {
    list-style: none;
    padding-left: 0;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.features-full li {
    margin-bottom: 15px;
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 10px;
}

.features-full li img {
    width: 25px;
    aspect-ratio: auto 1 / 1;
}

.aside-container-demo a, #generate-button, #buy-button {
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    color: black;
    font-size: 1.25rem;
    font-weight: bold;
    background-color: var(--button-color);
    padding: 12px 25px;
    border-radius: 12px;
    display: block;
    width: 100%;
}

.aside-container-demo a:hover, #generate-button:hover, #buy-button:hover {
    background-color: #a7fffa;
}

#generate-button:disabled {
    cursor: not-allowed;
    background-color: var(--base-border-color);
    border-color: var(--base-border-color);
}


.export-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.export-buttons button {
    cursor: pointer;
    width: 100%;
    height: 50px;
    color: white;
    border: 2px solid var(--button-color);
    border-radius: 12px;
    font-size: 1.125rem;
    background: none;
    transition: 0.3s ease-in-out;
}

.export-buttons button:hover {
    color: black;
    background-color: var(--button-color);
}

.rating-container {
    width: 100%;
    background-color: var(--second-color);
    border-radius: 15px;
    border: 2px solid var(--base-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 18px;
}

.rating-container.colorized {
    position: relative;
}

.rating-container.colorized::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #0000ff);
    background-size: 400% 400%;
    border-radius: 14px;
    z-index: 0;
    animation: gradient-border 10s linear infinite;
}

@keyframes gradient-border {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.rating-container h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-top: 0;
    z-index: 2;
    color: white;
}

.rating-container a {
    text-decoration: none;
    color: var(--button-color);
    z-index: 2;
}

.span-colorized {
    z-index: 2;
    color: white;
    font-size: 1.25rem;
}

#rating-open, #generate-speech {
    cursor: pointer;
    width: 100%;
    height: 50px;
    color: white;
    border: 2px solid var(--button-color);
    border-radius: 12px;
    font-size: 1.125rem;
    background: none;
    transition: 0.3s ease-in-out;
    z-index: 2;
}

#rating-open {
    background-color: black;
    border: none;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

#rating-open:hover, #generate-speech:hover {
    background-color: #a7fffa;
    color: black;
}

#generate-speech:disabled {
    cursor: not-allowed;
    background-color: #a7fffa;
    color: black;
    opacity: 0.6;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--second-color);
    border: 2px solid var(--base-border-color);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
    min-width: 320px;
    max-width: 450px;
    color: white;
}

.close-btn {
    cursor: pointer;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: -1px;
    right: 6px;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--button-color);
    text-decoration: none;
    cursor: pointer;
}

.modal p {
    font-size: 1.125rem;
    margin: 0 auto 10px;
    padding-left: 4px;
}

#review-form {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    align-items: center;
    font-size: 1.125rem;
}

#review-form label {
    align-self: start;
    padding-left: 4px;
}

#review-form textarea {
    width: 100%;
    height: 170px;
    background: none;
    color: white;
    border: 2px solid var(--base-border-color);
    border-radius: 12px;
    padding: 10px;
    font-size: 1.0625rem;
    resize: none;
}

#review-form textarea:focus {
    outline: none;
    border-color: var(--button-color);
    transition: 0.3s ease-in-out;
}

#review-form textarea::placeholder {
    font-style: italic;
}

#review-form button {
    width: 100%;
    max-width: 240px;
    height: 50px;
    color: white;
    border: 2px solid var(--button-color);
    border-radius: 12px;
    font-size: 1.125rem;
    background: none;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

#review-form button:hover {
    background-color: #a7fffa;
    color: black;
}

.star-rating {
    font-size: 2em;
    color: gray;
    cursor: pointer;
}

.star-rating .star {
  font-size: 2em;
  color: gray;
  cursor: pointer;
}

.star-rating .star:hover,
.star-rating .star:hover ~ .star {
  color: gold;
}

.star-rating .star.selected {
  color: gold;
}

.promocode-container div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
    font-size: 1.125rem;
}

.promocode-container div label {
    align-self: start;
    padding-left: 4px;
}

.promocode-container div input {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 2px solid var(--base-border-color);
    background: var(--second-color);
    padding: 0 10px;
    color: white;
    font-size: 1.125rem;
}

.promocode-container div input:focus {
    outline: none;
    border-color: var(--button-color);
    box-shadow: 0 0 10px var(--button-color);
    transition: 0.3s ease-in-out;
}

.promocode-container select {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 2px solid var(--base-border-color);
    background: var(--second-color);
    padding: 0 10px;
    color: white;
    font-size: 1.125rem;
    margin-bottom: 15px;
}

.promocode-container select:focus {
    outline: none;
    border-color: var(--button-color);
    box-shadow: 0 0 10px var(--button-color);
    transition: 0.4s ease-in-out;
}

.promocode-container select:hover {
    outline: none;
    border-color: var(--button-color);
    box-shadow: 0 0 10px var(--button-color);
    transition: 0.4s ease-in-out;
}

#promo-button {
    width: 100%;
    height: 50px;
    color: white;
    border: 2px solid var(--button-color);
    border-radius: 12px;
    font-size: 1.125rem;
    background: none;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    margin-top: 12px;
}

#promo-button:hover {
    background-color: #a7fffa;
    color: black;
}

.promo-info {
    font-size: 1.25rem;
    margin-bottom: 0;
    text-align: center;
}

.promocode-container span {
    font-size: 1.125rem;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 7px;
}

.generation-info-text {
    font-size: 1.1875rem;
    margin-bottom: 15px;
    margin-top: 10px;
}

.how-much-bonus-container {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 5px;
}

.how-much-bonus-container img {
    width: 27px;
    cursor: pointer;
}



.loader {
    display: inline-block;
    text-align: center;
    line-height: 80px;
    position: relative;
    padding: 0 48px;
    font-size: 1.75rem;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    width: 100%;
}

.loader:before, .loader:after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background: currentColor;
    position: absolute;
    animation: load .9s infinite alternate ease-in-out;
    top: 0;
    color: var(--button-color);
}

.loader:after {
    top: auto;
    bottom: 0;
}

.modal-by-ai {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.by-ai-modal-content {
    margin: 10% auto;
    width: 95%;
    position: relative;
    background-color: var(--second-color);
    border: 2px solid var(--base-border-color);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
    min-width: 320px;
    max-width: 650px;
    color: white;
}

.by-ai-modal-content h3 {
    text-align: center;
}

.close-by-ai-modal {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

#edit-by-ai-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#edit-by-ai-form label {
    justify-self: start;
    font-size: 1.0625rem;
    margin-bottom: 3px;
}

#edit-by-ai-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--base-border-color);
    border-radius: 8px;
    background-color: #2d2d2d;
    color: white;
    font-size: 1rem;
    margin-bottom: 12px;
}

#edit-by-ai-form textarea:focus {
    outline: none;
    border-color: var(--button-color);
}

#edit-by-ai-form::placeholder {
    font-family: Arial, Helvetica, sans-serif;
}

.form-group {
    margin-top: 12px;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--base-border-color);
    border-radius: 8px;
    background-color: #2d2d2d;
    color: white;
    font-size: 1rem;
}

.plan-type-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-type-options {
    display: flex;
    gap: 10px;
}

.form-control:focus {
    outline: none;
    border-color: var(--button-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.plan-type-options input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.plan-type-btn {
    padding: 8px 16px;
    border: 1px solid var(--button-color);
    border-radius: 6px;
    background-color: transparent;
    /*color: #4a90e2;*/
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.plan-type-options input[type="radio"]:checked + .plan-type-btn {
    background-color: var(--button-color);
    border-color: var(--button-color);
    color: black;
}

.plan-type-btn:hover {
    background-color: rgba(74, 144, 226, 0.1);
}

#send-user-wishes {
    max-width: 200px;
    width: 100%;
    margin: 15px auto 0;
    color: white;
    font-size: 1.125rem;
    padding: 10px;
    border: 2px solid var(--button-color);
    border-radius: 8px;
    background: none;
    cursor: pointer;
}

#send-user-wishes:hover {
    background-color: #a7fffa;
    color: black;
    transition: 0.3s ease-in-out;
}

#edit-plan-form {
    overflow-y: auto;
    max-height: 65vh;
}

.modal-plan {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.plan-modal-content {
    margin: 10% auto;
    width: 95%;
    position: relative;
    background-color: var(--second-color);
    border: 2px solid var(--base-border-color);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
    min-width: 320px;
    max-width: 650px;
    color: white;
}

.plan-modal-content h3 {
    text-align: center;
    font-size: 1.375rem;
    margin-top: 5px;
}

#chapters-container span {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 5px;
    align-self: start;
}

.plan-item, .chapter-item {
    display: flex;
    margin: 7px 0;
}

.chapter-item {
    flex-direction: column;
    align-items: center;
}

.section-item {
    width: 100%;
    margin-bottom: 5px;
    gap: 10px;
    display: flex;
}

.chapter-header, .sections-container {
    display: flex;
    width: 97%;
    margin-bottom: 5px;
}

.chapter-header {
    gap: 10px;
    margin-bottom: 15px;
}

.sections-container {
    flex-direction: column;
}

.sections-container span {
    font-size: 1.125rem;
}

.plan-item input, .chapter-item input {
    width: 100%;
    height: 40px;
    border: 2px solid var(--base-border-color);
    background: none;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 1.125rem;
    color: white;
    outline: none;
}

.chapter-header input {
    border-color: #ba8fff;
}


.plan-item input:focus, .chapter-item input:focus {
    border-color: var(--button-color);
    box-shadow: 0 0 10px var(--button-color);
    transition: 0.5s ease-in-out;
}

.remove-item, .remove-chapter, .remove-section {
    cursor: pointer;
    background-color: red;
    color: white;
    font-size: 1.5rem;
    border: none;
}

.remove-chapter {
    background-color: #ba8fff;
    color: black;
}

#add-plan-item, #add-chapter {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.0625rem;
    font-weight: bold;
    margin: 0 auto;
    margin-top: 5px;
}

#add-plan-item:disabled, #add-chapter:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

.add-section {
    background-color: #ba8fff;
    color: black;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.0625rem;
    font-weight: bold;
    align-self: start;
    margin-bottom: 10px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.modal-actions button {
    width: 100%;
    height: 40px;
    border: 2px solid var(--button-color);
    background: none;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 1.125rem;
    color: white;
    outline: none;
    cursor: pointer;
}

.modal-actions button:hover {
    background-color: var(--button-color);
    color: black;
    transition: 0.4s ease-in-out;
}

.close {
    position: absolute;
    right: 20px;
    top: 8px;
    cursor: pointer;
    font-size: 2rem;
}

.biblio-list li div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--base-border-color);
}

.external-link {
    display: inline-block;
    width: 35px;
    height: 35px;
}

.external-link img {
    width: 35px;
    height: 35px;
}

.generation-offer-container {
    border: 2px solid var(--base-border-color);
    background-color: var(--second-color);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
}

.generation-offer-container h2, .generation-offer-container-mobile h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: center;
}

.generation-offer-container p {
    margin: 5px auto 20px;
}

.create-button {
    text-decoration: none;
    text-align: center;
    color: black;
    font-size: 1.25rem;
    font-weight: bold;
    background-color: var(--button-color);
    padding: 12px 25px;
    border-radius: 12px;
    display: block;
    width: 100%;
}

.create-button:hover {
    background-color: #a7fffa;
}

.demo {
    border: none;
    padding-left: 0;
    padding-right: 0;
    margin-top: 20px;
    border-top: 2px solid var(--base-border-color);
}

.table-chapter-container {
    overflow-x: auto;
}

.research-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Georgia', serif;
    color: #f5f5f5;
    background-color: #0d0d0d;
    border: 1px solid #333;
    font-size: 1.0625rem;
}

.research-table caption {
    font-size: 1.0625rem;
    font-style: italic;
    color: #a0d2eb;
    padding: 0.8rem;
    text-align: center;
}

.research-table th {
    background-color: #1a1a1a;
    color: #c5e1a5;
    padding: 0.9rem;
    font-weight: bold;
    text-align: left;
    border-bottom: 2px solid #333;
}

.research-table td {
    padding: 0.9rem;
    border-bottom: 1px dashed #2a2a2a;
}

.research-table tbody tr:nth-child(even) {
    background-color: rgba(30, 30, 30, 0.4);
}

@keyframes load {
    0% {
        left: 0;
        height: 43px;
        width: 15px;
        transform: translateX(0)
    }
    50% {
        height: 10px;
        width: 40px
    }
    100% {
        left: 100%;
        height: 43px;
        width: 15px;
        transform: translateX(-100%)
    }
}

@media screen and (max-width: 1023px) {
    .work-info-container {
        width: 90%;
    }
    .aside-container-demo, .aside-container {
        width: 90%;
        max-width: none;
        margin-top: 15px;
    }
}

@media screen and (max-width: 768px) {
    .work-info-container {
        width: 95%;
        padding: 12px;
    }
    .work-info-container h1 {
        font-size: 1.5rem;
    }
    .work-info-container h2 {
        font-size: 1.25rem;
    }
    .content-wrapper {
        font-size: 1.125rem;
    }
    .partition {
        padding-left: 5px;
        font-size: 1.1875rem;
    }
    .aside-container-demo, .aside-container {
        width: 95%;
    }
    .research-table {
        font-size: 1rem;
    }
}

@media screen and (max-width: 500px) {
    .work-info-container .work-type {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .plan-modal-content {
        padding: 10px;
    }
    .plan-item input, .chapter-item input {
        font-size: 1rem;
    }
    .content-table ul {
        font-size: 1.125rem;
    }
    .work-info-container h1 {
        font-size: 1.25rem;
    }
    .work-info-container h2 {
        font-size: 1.125rem;
    }
    .warning-block {
        font-size: 1.125rem;
        padding: 10px;
    }
    .biblio-list li {
        font-size: 1.0625rem;
    }
    .tasks-promo-minimal {
        padding: 15px;
    }
    .feature span {
        font-size: 1rem;
    }
    .minimal-button {
        padding: 10px;
    }
    .content-wrapper {
        font-size: 1.0625rem;
    }
    .research-table td {
        padding: 10px;
    }
    .research-table th {
        padding: 10px;
    }
    #edit-plan-with-ai-button, #edit-plan-button {
        font-size: 1rem;
    }
}

