/* PROMPTS  */

/* =========================
   CONTENEDOR GENERAL
========================= */

#andre-prompts-app{
    max-width:1280px;
    margin:0 auto;
    padding:60px 20px;
}

/* =========================
   FILTROS
========================= */

.andre-prompts-filters{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
    margin-bottom:60px;
}

/* =========================
   BUSCADOR
========================= */

#andre-search{
    width:100%;
    max-width:540px;
    height:54px;

    border:1px solid #e5e5e5;
    background:#fff;

    padding:0 20px;

    font-size:15px;

    outline:none;
}

#andre-search:focus{
    border-color:#111;
}

/* =========================
   FILTROS INFERIORES
========================= */

/* CONTENEDOR FILTROS */

.andre-filter-row{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:60px;

    margin-bottom:50px;

    flex-wrap:wrap;

}

/* SELECT CATEGORIAS */

#andre-category,
#andre-saved-category{

    width:280px;

    height:58px;

    padding:0 20px;

    border:1px solid #dfe3e6;

    background:#fff;

    color:#2e5059;

    font-size:16px;

    font-weight:600;

    border-radius:0;

    outline:none;

    cursor:pointer;

    appearance:none;

    -webkit-appearance:none;

    -moz-appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232e5059' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:right 18px center;

}

/* TAGS */

#andre-tags,
#andre-saved-tags{

    display:flex;

    align-items:center;

    gap:35px;

}

/* BOTONES */

#andre-tags button,
#andre-saved-tags button{

    background:none;

    border:none;

    padding:0 0 12px;

    cursor:pointer;

    color:#9ca3af;

    font-size:15px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    position:relative;

    transition:.25s;

}

/* HOVER */

#andre-tags button:hover,
#andre-saved-tags button:hover{

    color:#2e5059;

}

/* ACTIVO */

#andre-tags button.active,
#andre-saved-tags button.active{

    color:#2e5059;

}

/* LINEA INFERIOR */

#andre-tags button.active::after,
#andre-saved-tags button.active::after{

    content:'';

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:3px;

    background:#2e5059;

}

/* RESPONSIVE */

@media(max-width:768px){

    .andre-filter-row{

        gap:25px;

    }

    #andre-category,
    #andre-saved-category{

        width:100%;

    }

    #andre-tags,
    #andre-saved-tags{

        gap:20px;

        justify-content:center;

        flex-wrap:wrap;

    }

}
/* =========================
   GRID
========================= */

.andre-grid{

    display:grid;

    grid-template-columns:
    repeat(3,minmax(0,1fr));

    gap:24px;
}

/* =========================
   TARJETAS
========================= */

.andre-card{

    background:#fff;

    border:1px solid #e7e7e7;

    padding:26px;

    min-height:230px;

    display:flex;
    flex-direction:column;

    text-decoration:none;

    color:#111;

    transition:all .2s ease;
}

.andre-card:hover{

    transform:translateY(-4px);

    border-color:#d0d0d0;
}

/* =========================
   CABECERA TARJETA
========================= */

.andre-card-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:22px;
}

.andre-cat{

    background:#f6f6f6;

    padding:6px 10px;

    font-size:10px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;
}

.andre-tag{

    color:#ff3131;

    font-size:10px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;
}

/* =========================
   TITULO
========================= */

.andre-card h3{

    margin:0 0 16px;

	font-size:18px;
    line-height:1.5;

    font-weight:700;

    color:#111;
}

/* =========================
   DESCRIPCIÓN
========================= */

.andre-card p{

    margin:0;

    color:#666;

    font-size:16px;

    line-height:1.8;

    flex:1;
}

/* =========================
   PAGINACIÓN
========================= */

.andre-pagination{

    margin-top:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:30px;
}

.andre-pagination button{

    background:none;

    border:none;

    cursor:pointer;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    color:#111;
}

.andre-pagination span{

    color:#999;

    font-size:14px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1024px){

    .andre-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

}

@media(max-width:768px){

    .andre-grid{

        grid-template-columns:1fr;
    }

    #andre-search{

        max-width:100%;
    }

    .andre-filter-row{

        flex-direction:column;
    }

}

/* =========================
   SIN RESULTADOS
========================= */

.andre-no-results{

    text-align:center;

    padding:80px 20px;
}

.andre-no-results h3{

    margin:0 0 25px;

    font-size:24px;

    font-weight:700;

    color:#111;
}

.andre-reset-filters{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:48px;

    padding:0 28px;

    border:1px solid #111;

    background:#111;

    color:#fff;

    cursor:pointer;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

    transition:.2s;
}

.andre-reset-filters:hover{

    background:#fff;

    color:#111;
}
#andre-prompts-header{
    text-align:center;
    margin-bottom:60px;
}

#andre-prompts-title{
    color:#2e5059;
    font-size:48px;
    font-weight:700;
    line-height:1.2;
    margin:0 0 20px;
    text-transform:uppercase;
}

#andre-prompts-description{
    color:#2e5059;
    font-size:18px;
    line-height:1.8;
    max-width:900px;
    margin:0 auto;
}

/* =========================
   PROMPT INDIVIDUAL
========================= */

.andre-prompt-wrapper {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
    margin: 25px 0;
}

.andre-prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #f3f3f3;
    border-bottom: 1px solid #e5e5e5;
}

.andre-prompt-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
    font-family: monospace;
}

.andre-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfcfcf;
}

.andre-copy-btn,
.andre-save-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.andre-copy-btn:hover,
.andre-save-btn:hover {
    opacity: 0.7;
}

.andre-copy-btn svg,
.andre-save-btn svg {
    margin-right: 6px;
    vertical-align: middle;
}

.andre-save-btn.saved {
    color: #16a34a;
}

.andre-prompt-content {
    padding: 24px;
    white-space: break-spaces;
    font-family: Consolas, Monaco, monospace;
    line-height: 1.8;
    font-size: 18px;
    color: #222;
    overflow-x: auto;
}

.andre-prompt-footer {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 12px 24px;
    border-top: 1px solid #e5e5e5;
    background: #f8f8f8;
    font-size: 13px;
    color: #666;
}

.andre-prompt-tip {
    margin-top: 24px;
    padding: 24px 28px;
    border: 1px solid #dfe3e6;
    background: #fafafa;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.andre-prompt-tip-icon {
    flex-shrink: 0;
    color: #1f2937;
    margin-top: 2px;
}

.andre-prompt-tip-content {
    color: #2e5059;
    font-size: 18px;
    line-height: 1.8;
}

.andre-prompt-tip-content strong {
    font-weight: 700;
    color: #111827;
}

.andre-prompt-tip-content code {
    background: #f1f3f5;
    border: 1px solid #dfe3e6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: inherit;
}
