﻿/* Assistant Area SUMMARY View */
.table-row {
    border-bottom: 1px;
    opacity: 1;
}

.fade-in-row {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in-row.animate__animated {
    opacity: 1;
}

.table-wrapper {
    width: 100%;
    display: block;
    white-space: nowrap;
}

.fixed-table {
    width: 100%;
    min-width: 600px;
    table-layout: fixed;
}

.fixed-table td, .fixed-table th {
    white-space: nowrap;
}

.fixed-table {
    table-layout: fixed;
    width: 100%;
}

.tableBody tr {
    height: 3rem;
}

.fixed-table tr {
    min-height: 60px;
}

.fixed-table td {
    vertical-align: middle;
}

.company-name {
    width: 25%;
}

.invoice-count {
    width: 35%;
}

.action-buttons {
    width: 40%;
}

.flex-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-menu {
    max-height: 200px;
    position: absolute;
    background-color: #F6F9F2;
    z-index: 10;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow-y: auto;
}

.dropdown-menu a {
    display: block;
    border-bottom: 1px solid #dde0da;
    padding: 0.5rem 1rem;
    color: #4b5563;
    text-decoration: none;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #e0e3de;
}
    .dropdown-menu::-webkit-scrollbar {
        width: 8px;
    }

    .dropdown-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }

        .dropdown-menu::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

/* Assistant area COMPANY View */

.fixed-table {
    table-layout: fixed;
    width: 100%;
}

.table-row:not(.no-hover):hover {
    background-color: #e7e9e5;
}

/* Assistant area View */
.assistant-area {
    flex: 1;
    overflow-y: auto;
}

/* Mobile login section styles */
@media (max-width: 640.98px) {
    .login-section-mobile {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    }

    .login-onboarding-mobile {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    }

    .assistant-area-mobile {
        overflow: auto !important;
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    }
}

/* Ensure desktop behavior is preserved */
@media (min-width: 641px) {
    .assistant-area-mobile {
        overflow: hidden !important;
        min-height: auto;
    }
    
    .login-section-mobile,
    .login-onboarding-mobile {
        min-height: auto;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Override text-sm font-size for elements with mb-4 text-sm text-color block classes */
.mb-4.text-sm.text-color.block {
    font-size: 1rem;
}

/* Set font-size to 1rem for export button text */
.font-semibold.select-none.whitespace-nowrap,
.font-semibold.whitespace-nowrap {
    font-size: 1rem;
}


