@charset "UTF-8";
/*
 * PromptEnglish.com - Created by Ralph Hervas
 * File: /home/compromptenglish/public_html/themes/altum/assets/css/promptenglish.css
 * File name : promptenglish.css
 * URL: loaded on all pages (public, app, admin)
 * Modified: 2026-11-17 20:00
 * Changes: Compact user template blocks
 * Version: 2.6
 * New Version Changes: 2.6 - Styles for the compact blocks on /templates (.pe-user-template*).
 *   2.6 - .pe-grid-5 (5 per row, responsive), dashboard category blocks, light-blue admin text blocks (description / prompt).
 *   2.3 - @charset UTF-8 added (no more "â€“" characters).
 *   2.2 - New file. Logo sizes: public header 6rem, app top header 7rem, mobile 3.5rem, footer 3.5rem,
 *   admin sidebar full width. Edit the sizes here only (no need to touch the AltumCode CSS files).
 */

/* ---------- Public header (home page, login, register, blog, pages) ---------- */
.navbar-logo {
    height: 6rem;
    max-height: 6rem;
    width: auto;
}

/* ---------- Footer ---------- */
.footer-logo {
    height: 3.5rem;
    max-height: 3.5rem;
    width: auto;
}

/* ---------- App top header (dashboard, documents, templates …) ---------- */
.pe-header {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
}

.pe-header-logo {
    height: 7rem;
    max-height: 7rem;
    width: auto;
    max-width: 100%;
}

.pe-header-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.pe-header a:hover {
    text-decoration: none;
}

/* App sidebar: square icon on top (the big logo is in the top header) */
.pe-sidebar-icon {
    width: 4rem;
    height: 4rem;
    max-height: 4rem;
    object-fit: contain;
}

/* ---------- Mobile ---------- */
@media (max-width: 991.98px) {
    .navbar-logo {
        height: 3.5rem;
        max-height: 3.5rem;
    }
}

/* ---------- Admin ---------- */
.admin-navbar-logo {
    height: auto;
    max-height: 5rem;
    width: 100%;
    object-fit: contain;
}

.admin-navbar-logo-top {
    height: 3rem;
    max-height: 3rem;
    width: auto;
}

/* ---------- v2.6: grid with 5 compact blocks per row (admin dashboard + AI Templates) ---------- */
.pe-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}
@media (max-width: 1599.98px) { .pe-grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) { .pe-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .pe-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px)  { .pe-grid-5 { grid-template-columns: minmax(0, 1fr); } }

.pe-cat-block { transition: transform .12s ease, box-shadow .12s ease; color: var(--gray-900); }
.pe-cat-block:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08); }
.pe-cat-block .card-body { padding: 1rem; }
.pe-cat-block-icon { width: 2.5rem; height: 2.5rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: .6rem; }
.pe-cat-block-name { font-weight: 700; font-size: .95rem; color: var(--gray-900); line-height: 1.25; }
.pe-cat-block-count { font-size: .8rem; color: var(--gray-600); margin-top: .15rem; }
.pe-cat-block-disabled { opacity: .55; }

/* ---------- v2.6: big light-blue text blocks in the admin template forms ---------- */
.pe-admin-textarea {
    background-color: #e6f2ff !important;
    border: 2px solid #8ec5ff !important;
    color: #1f2d3d !important;
    resize: vertical;
}
.pe-prompt-textarea {
    min-height: 450px;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .9rem;
    line-height: 1.5;
}

/* ---------- v2.7: compact template blocks on /templates (users) ---------- */
.pe-user-template .card { transition: transform .12s ease, box-shadow .12s ease; }
.pe-user-template .card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08); }
.pe-user-template-icon { width: 2.25rem; height: 2.25rem; border-radius: .6rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pe-user-template-name { font-weight: 700; font-size: .95rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pe-user-template-desc { font-size: .82rem; line-height: 1.25rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
