/* Namespace 'crt-' para evitar conflictos */

.crt-page-wrapper {
    min-height: 100vh;
    padding-top: 40px;
}

/* Icono Header */
.crt-icon-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.5);
}

/* Caja de Búsqueda */
.crt-search-box {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.crt-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 15px 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.crt-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #4f46e5 !important;
    box-shadow: none;
}

.crt-btn-search {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    color: white;
    padding: 0 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.crt-btn-search:hover {
    filter: brightness(1.2);
    color: white;
}

/* Tarjeta de Resultado (Éxito) */
.crt-result-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(79, 70, 229, 0.3); /* Borde morado sutil */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: crtSlideUp 0.5s ease-out;
}

.crt-card-header-glass {
    background: rgba(46, 204, 113, 0.1);
    border-bottom: 1px solid rgba(46, 204, 113, 0.2);
    padding: 15px 30px;
    color: #2ecc71;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.crt-card-body-glass {
    /* Estilos adicionales si fueran necesarios */
}

.crt-seal {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
    opacity: 0.9;
}

.crt-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.crt-detail-item small {
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Tarjeta de Error */
.crt-error-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    animation: crtShake 0.4s ease-in-out;
}

/* Animaciones con prefijo */
@keyframes crtSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes crtShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}