/* HaulWare Driver Online Theme - Tailwind CSS */
:root {
    --color-primary: #5D7237;
    --color-secondary: #CCDAB3;
    --color-tertiary: #E5ECD9;
    --color-footer: #2A331A;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Ensure link colors are not overridden */
a {
    color: inherit;
}

a.text-blue-600 {
    color: #2563eb !important;
}

a.text-blue-600:hover {
    color: #1e40af !important;
}

#map {
    height: 100%;
}

/* Table row hover and selection */
tbody tr {
    cursor: pointer;
    transition: background-color 0.2s;
}

tbody tr:hover {
    background-color: rgba(93, 114, 55, 0.1);
}

tbody tr.selected {
    background-color: #66ccff !important;
}

tbody tr:nth-child(even) {
    background-color: rgba(229, 236, 217, 0.5);
}

/* Image thumbnails */
.imageThumbnail {
    width: 443px;
    height: 443px;
    object-fit: cover;
    margin: 5px;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.imageThumbnail:hover {
    transform: scale(1.05);
}

/* Modal animations */
#ticketImageModal {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
