#lpl-template-library {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.lpl-admin {
    background: #f5f5f5;
}

.lpl-frontend {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.lpl-total {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.lpl-accordion-item {
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.lpl-accordion-title {
    background: #0073aa;
    color: #fff;
    padding: 15px;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.lpl-accordion-title:hover {
    background: #005177;
}

.lpl-accordion-content {
    display: none;
    background: #fff;
    padding: 15px;
}

.lpl-template-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.lpl-template-item:last-child {
    border-bottom: none;
}

.lpl-template-item img {
    width: 100%;
    max-width: 520px;
    max-height: 320px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.lpl-template-item h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.lpl-copy-button, .lpl-edit-button {
    background: #0073aa;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    transition: background 0.2s;
    margin: 5px 0;
}

.lpl-copy-button:hover, .lpl-edit-button:hover {
    background: #005177;
}

/* Responsividade */
@media (max-width: 768px) {
    #lpl-template-library {
        padding: 15px;
    }

    .lpl-accordion-title {
        font-size: 14px;
        padding: 12px;
    }

    .lpl-template-item {
        padding: 10px 0;
    }

    .lpl-template-item img {
        max-width: 100%;
        max-height: 240px;
    }

    .lpl-template-item h4 {
        font-size: 14px;
    }

    .lpl-copy-button, .lpl-edit-button {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #lpl-template-library {
        padding: 10px;
    }

    .lpl-accordion-title {
        font-size: 13px;
        padding: 10px;
    }

    .lpl-template-item h4 {
        font-size: 13px;
    }

    .lpl-template-item img {
        max-height: 200px;
    }

    .lpl-copy-button, .lpl-edit-button {
        padding: 6px 10px;
        font-size: 12px;
    }
}