body.page-template-default {
    background-color: #F5F5F5;
}

.llm-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
    background-color: #F5F5F5;
}

.llm-login-form {
    border: .75px solid #ccc;
    background-color: #fff;
    border-radius: .5rem;
    padding: .75rem 1.25rem;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.llm-login-form h2 {
    margin-bottom: 10px;
    color: #333;
}

.llm-login-form p {
    margin-bottom: 20px;
    color: #666;
}

.llm-login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 16px;
}

.llm-login-form button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.llm-login-form button:hover {
    background: #005a87;
}

.llm-error {
    color: #dc3545;
    margin-top: 10px;
    padding: 10px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.llm-dashboard {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    max-width: 1200px;
    background-color: #F5F5F5;
}

.llm-sidebar {
    width: 280px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 8px;
    border: .75px solid #ccc;
    height: fit-content;
}

.llm-filter-section {
    padding: 20px;
}

.llm-filter-section:not(:last-child) {
    border-bottom: 0.75px solid #ccc;
}

.llm-filter-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.llm-filter-section select,
.llm-filter-section input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.llm-filter-section input[type="checkbox"] {
    margin-right: 8px;
}

.llm-filter-description {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    margin-bottom: 0;
    line-height: 14px;
}

.llm-checkbox-container {
    max-height: 150px;
    overflow-y: auto;
}

.llm-checkbox-label {
    display: block;
    padding: 6px 0;
    font-weight: normal;
    cursor: pointer;
    font-size: 16px;
}

.llm-checkbox-label:hover {
    color: #0073aa;
}

.llm-hidden-checkboxes {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
}

.llm-logout-btn {
    width: 100%;
    padding: 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 20px;
}

.llm-logout-btn:hover {
    background: #c82333;
}

.llm-content {
    flex: 1;
}

.llm-header {
    margin-bottom: 30px;
}

.llm-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.llm-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 10px;
}

.llm-prompts-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.llm-prompts-feed::-webkit-scrollbar {
    width: 6px;
}

.llm-prompts-feed::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.llm-prompts-feed::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.llm-prompts-feed::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.llm-prompt-card {
    border: .75px solid #ccc;
    background-color: #fff;
    border-radius: .5rem;
    padding: .75rem 1.25rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
    position: relative;
}

.llm-prompt-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-top {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.llm-prompt-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.llm-prompt-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-heading {
    flex: 1;
}

.llm-prompt-tags {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.llm-topic-tag,
.llm-tag-tag,
.llm-single-topic,
.llm-single-tag {
    text-align: center;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    min-width: auto;
    height: 20px;
    padding: 5px 10px;
    display: flex;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.llm-prompt-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    color: #333;
    line-height: 1.3;
}

.card-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.llm-prompt-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.llm-prompt-arrow {
    width: 28px;
    height: 28px;
    background: #333;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.llm-prompt-arrow:hover {
    background: #000;
    color: white;
}

.llm-load-more-container {
    text-align: center;
    margin-top: 30px;
}

.llm-load-more {
    padding: 12px 30px;
    background: #333;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.llm-load-more:hover {
    background: #000;
}

.llm-no-results {
    background: #f8f9fa;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
}

.llm-single-prompt {
    background-color: #F5F5F5;
    min-height: 100vh;
    padding: 40px 20px;
}

.llm-single-container {
    max-width: 800px;
    margin: 0 auto; 
    overflow: hidden;
    text-align: center;
}

.llm-single-header {
    padding: 40px 40px 30px;
    color: #000;
}

.llm-library-name {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.llm-single-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.llm-single-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
}

.llm-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}


.llm-single-video {
    padding: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.llm-single-video iframe,
.llm-single-video video {
    width: 100%;
    height: 400px;
    border: none;
    margin-top: 20px;
}

.llm-single-content {
    padding-top: 40px;
    text-align: left;
}

.llm-single-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    display: inline-block;
}

.llm-method-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.llm-method-content p {
    margin-bottom: 15px;
}

.llm-prompts-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.llm-prompt-box {
    background-color: #fff;
    border: .75px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.llm-prompt-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border-bottom: 1px solid #e9ecef; */
}

.llm-prompt-number {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.llm-copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.llm-copy-btn:focus{
    background-color: #fff;
    color: #000;
}

.llm-copy-btn:active{
    background-color: #fff;
    color: #000;
}

.llm-copy-btn:hover{
    background-color: #fff;
    color: #000;
}


.llm-copy-btn.copied {
    background: #fff;
    color: #000;
}

.llm-prompt-text {
    padding: 15px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #2d3748;
    background: white;
    white-space: pre-line;
}

.llm-back-button {
    padding: 30px 40px;
    /* background: #f8f9fa; */
    border-top: 1px solid #e9ecef;
}

.llm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.llm-back-link:hover {
    color: #000;
}

@media (max-width: 768px) {
    .llm-single-prompt {
        padding: 20px 10px;
    }

    .llm-single-container {
        border-radius: 8px;
    }

    .llm-single-header {
        padding: 30px 25px 25px;
    }

    .llm-single-title {
        font-size: 24px;
    }

    .llm-single-description {
        font-size: 16px;
    }

    .llm-single-content {
        padding: 30px 25px;
    }

    .llm-single-content h2 {
        font-size: 20px;
    }

    .llm-prompt-header {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .llm-copy-btn {
        align-self: flex-end;
    }

    .llm-prompt-text {
        padding: 20px 15px;
        font-size: 14px;
    }

    .llm-back-button {
        padding: 20px 25px;
    }

    .llm-single-video iframe,
    .llm-single-video video {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .llm-dashboard {
        flex-direction: column;
        gap: 20px;
    }

    .llm-sidebar {
        width: 100%;
    }

    .llm-header h1 {
        font-size: 36px;
    }

    .card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .llm-prompt-image {
        width: 100%;
        max-width: 200px;
        height: 120px;
    }

    .card-detail {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .llm-prompt-arrow {
        align-self: center;
    }

    .llm-prompts-feed {
        max-height: 500px;
    }
}