/* assets/css/view-styles.css - Versión 7.0 (SVG + CTA + Footer) */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Fira+Code:wght@400;500&family=Inter:wght@400;500&display=swap');

.view-page {
    background-color: #0d1117;
    background-image: 
        linear-gradient(to bottom, rgba(13, 17, 23, 0.92), rgba(13, 17, 23, 0.98)),
        url('https://www.transparenttextures.com/patterns/light-paper-fibers.png');
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1rem;
    color: #c9d1d9;
}

.view-container {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 1;
}

/* --- HEADER --- */
.view-brand-header {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.brand-link-center {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.brand-link-center:hover { transform: scale(1.02); }

.brand-logo {
    width: 50px !important;
    height: 50px !important;
    filter: drop-shadow(0 0 12px rgba(0, 210, 106, 0.4));
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.brand-name span { color: #00d26a; }

/* --- TARJETA --- */
.view-card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Header Minimalista con SVGs */
.view-card-header-minimal {
    padding: 1rem 1.5rem;
    background-color: #0d1117;
    border-bottom: 1px solid #30363d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-details-prominent {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #8b949e;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Estilos de los iconos SVG */
.meta-icon {
    width: 18px;
    height: 18px;
    color: #00d26a; /* Verde Midxela */
}

.meta-separator {
    width: 1px;
    height: 16px;
    background-color: #30363d;
}

/* Botón de Copiar */
.icon-btn {
    background: transparent;
    border: 1px solid #30363d;
    color: #8b949e;
    width: 34px; height: 34px;
    border-radius: 6px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.action-icon-svg {
    width: 18px; height: 18px;
}
.icon-btn:hover {
    border-color: #00d26a;
    color: #00d26a;
}

/* Contenido */
.view-card-body {
    background-color: #161b22;
    padding: 0;
}

.code-content {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e6edf3;
    padding: 2rem;
    white-space: pre-wrap;
    word-break: break-word;
}
.code-content a { color: #98fb9c; text-decoration: none; border-bottom: 1px dashed #97f3c054; }
.code-content a:hover { border-bottom-style: solid; }

.view-signature {
    padding: 1rem 2rem;
    background-color: #0d1117;
    border-top: 1px solid #30363d;
    color: #8b949e;
    font-style: italic;
    font-size: 0.85rem;
    text-align: right;
}

/* --- CTA BANNER (Nuevo) --- */
.cta-banner {
    background: rgba(255, 255, 255, 0.03); /* Glassmorphism oscuro */
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 0.5rem;
}

.cta-banner p {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    color: #e6edf3;
}
.cta-banner strong { color: #00d26a; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.cta-button.login-btn {
    background-color: transparent;
    border: 1px solid #00d26a;
    color: #00d26a;
}
.cta-button.login-btn:hover {
    background-color: rgba(0, 210, 106, 0.1);
}

.cta-button.register-btn {
    background-color: #00d26a;
    color: #050505;
    border: 1px solid #00d26a;
}
.cta-button.register-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* --- FOOTER --- */
.copyright-footer {
    text-align: center;
    border-top: 1px solid #30363d;
    padding-top: 2rem;
    margin-top: 1rem;
    color: #6e7681;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .view-card-header-minimal { padding: 1rem; }
    .brand-logo { width: 40px !important; height: 40px !important; }
    .brand-name { font-size: 1.5rem; }
    .code-content { padding: 1rem; font-size: 0.9rem; }
    .cta-banner { padding: 1.5rem 1rem; }
}