/* VALTRACK Logo CSS */

/* Estilos para la imagen del logo */
.valtrack-logo-img {
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.2s ease;
    max-width: 100%;
    height: auto;
}

.valtrack-logo-img:hover {
    transform: scale(1.05);
}

/* Logo en navbar */
.navbar .valtrack-logo-img {
    /* Sin filtro para mantener colores originales */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.navbar .valtrack-logo-text {
    color: white;
    font-weight: bold;
    font-size: 20px;
}

/* Logo en footer */
.footer .valtrack-logo-img {
    opacity: 0.8;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer .valtrack-logo-text {
    font-size: 18px;
    color: #6c757d;
}

/* Logo en login - mantener colores originales */
.card-header .valtrack-logo-img {
    /* Sin filtro para mantener colores originales */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.card-header .valtrack-logo-text {
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.valtrack-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.valtrack-logo:hover {
    text-decoration: none;
    color: inherit;
}

.valtrack-logo-icon {
    position: relative;
    margin-bottom: 8px;
}

.valtrack-logo .hard-hat {
    width: 40px;
    height: 30px;
    background: #ff6b35;
    border-radius: 50% 50% 0 0;
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 2;
}

.valtrack-logo .hard-hat::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #e55a2b;
}

.valtrack-logo .clipboard {
    width: 60px;
    height: 45px;
    background: #1e3a8a;
    border-radius: 8px;
    position: relative;
    margin-left: 25px;
}

.valtrack-logo .clipboard::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 2px;
}

.valtrack-logo .clipboard::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 8px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 2px;
}

.valtrack-logo .checkmarks {
    position: absolute;
    top: 8px;
    left: 20px;
    width: 20px;
    height: 20px;
}

.valtrack-logo .checkmark {
    position: absolute;
    width: 6px;
    height: 2px;
    background: white;
    transform: rotate(45deg);
}

.valtrack-logo .checkmark:nth-child(1) {
    top: 8px;
    left: 0;
}

.valtrack-logo .checkmark:nth-child(2) {
    top: 12px;
    left: 4px;
    width: 4px;
}

.valtrack-logo .lines {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 15px;
    height: 20px;
}

.valtrack-logo .line {
    position: absolute;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.valtrack-logo .line:nth-child(1) {
    top: 8px;
    width: 12px;
}

.valtrack-logo .line:nth-child(2) {
    top: 12px;
    width: 8px;
}

.valtrack-logo .line:nth-child(3) {
    top: 16px;
    width: 10px;
}

.valtrack-logo .pixels {
    position: absolute;
    top: 0;
    right: -15px;
    width: 12px;
    height: 45px;
}

.valtrack-logo .pixel {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #1e3a8a;
    border-radius: 1px;
}

.valtrack-logo .pixel:nth-child(1) {
    top: 5px;
    right: 0;
}

.valtrack-logo .pixel:nth-child(2) {
    top: 15px;
    right: 3px;
}

.valtrack-logo .pixel:nth-child(3) {
    top: 25px;
    right: 6px;
}

.valtrack-logo-text {
    font-family: 'Arial Black', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Tamaños del logo */
.valtrack-logo-small .valtrack-logo-text {
    font-size: 18px;
}

.valtrack-logo-medium .valtrack-logo-text {
    font-size: 20px;
}

.valtrack-logo-large .valtrack-logo-text {
    font-size: 28px;
}

.valtrack-logo-small .hard-hat {
    width: 30px;
    height: 22px;
}

.valtrack-logo-small .clipboard {
    width: 45px;
    height: 34px;
}

.valtrack-logo-medium .hard-hat {
    width: 35px;
    height: 26px;
}

.valtrack-logo-medium .clipboard {
    width: 52px;
    height: 39px;
}

.valtrack-logo-large .hard-hat {
    width: 45px;
    height: 34px;
}

.valtrack-logo-large .clipboard {
    width: 68px;
    height: 51px;
}

/* Logo solo icono (sin texto) */
.valtrack-logo-icon-only {
    display: inline-block;
}

.valtrack-logo-icon-only .valtrack-logo-icon {
    margin-bottom: 0;
}

/* Favicon */
.valtrack-favicon {
    width: 32px;
    height: 32px;
    background: #1e3a8a;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valtrack-favicon .hard-hat {
    width: 16px;
    height: 12px;
    position: static;
    margin: 0;
}

.valtrack-favicon .clipboard {
    width: 20px;
    height: 15px;
    margin-left: 8px;
}

.valtrack-favicon .valtrack-logo-text {
    font-size: 8px;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}

/* Logo en navbar */
.navbar .valtrack-logo {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.navbar .valtrack-logo-icon {
    margin-bottom: 0;
}

.navbar .valtrack-logo-text {
    font-size: 20px;
}

/* Logo en footer */
.footer .valtrack-logo {
    margin-bottom: 15px;
}

.footer .valtrack-logo-text {
    font-size: 18px;
}

/* Logo en tarjetas */
.card .valtrack-logo {
    margin-bottom: 10px;
}

.card .valtrack-logo-text {
    font-size: 16px;
}
