/* Top Navbar Customization */
.navbar {
	width: 100%;
	min-height: 70px;
	z-index: 30;
}

.navbar .navbar-brand {
	height: 70px;
}

/* Remove underline/border from logo on focus/hover */
.navbar-brand .navbar-item:focus,
.navbar-brand .navbar-item:focus-within,
.navbar-brand .navbar-item:hover {
	text-decoration: none;
}

/* On desktop, keep navbar-menu at fixed height */
@media screen and (min-width: 1024px) {
	.navbar .navbar-menu {
		height: 70px;
	}
}

.navbar .navbar-item {
	display: flex;
	align-items: center;
}

/* Logo's */
.huxamlogo {
	width: 100px;
}

.brandlogo {
	width: 200px;
}

/* Chatbot Input */
.chatbot-button {
	color: white;
	display: inline-block;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s;
	width: 100%;  
	height: 35px;
}
.chatbot-button:hover {
	width: 100%;
}

/* Masked/unmasked are used to display or hide the API keys in the token manager */
.masked {
	display: inline;
	cursor: pointer;
}

.unmasked {
display: none;
	cursor: pointer;
}

/** Toggle visibility button */
.fa-eye
{
	color: gray;
	margin-left: 6px;
	cursor: pointer;
}

/** Button to remove access tokens */
.remove-button
{
	cursor: pointer;
}

@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}

.blinking {
animation: blink 1s infinite;
}

.pagetitle-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
  }

.is-fullheight{
	height: 100%;
	display: flex; 
	flex-direction: column;
}
.form-card {
	border-radius: 6px;
	box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
	margin-bottom: 1.5rem;
}
.section-header {
	border-bottom: 1px solid #f5f5f5;
	padding-bottom: 0.75rem;
	margin-bottom: 1rem;
}
.file-name{
	background-color:white;
}

/* Collapsible Menu Styles */
.menu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle .icon {
    transition: transform 0.2s ease;
}

.menu-collapsible {
    overflow: hidden;
}

/* Avatar Image Styles - Force Square and Circle */
.avatar-image {
    width: 128px !important;
    height: 128px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 2px solid #dbdbdb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media screen and (max-width: 840px) {
	.avatar-column {
	  display: none !important;
	}
}

.avatar-placeholder {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dbdbdb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Style to make the application on an old ipad or resolution between full hd and smartphone more readable */
@media only screen and (min-width: 769px) and (max-width: 960px)  {
    .is-hidden-old-tablet{
        display:none !important;
    }
    .menu-label{
        word-wrap: break-word !important;
    }
}

/* Sortable Table Headers */
.sortable-header {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	transition: color 0.2s ease;
	color: black;
}

.sortable-header:hover {
	font-weight: bold;
	color: black;
}

.sortable-header .icon {
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.sortable-header:hover .icon {
	opacity: 1;
}

/* Active sort column */
th .sortable-header .fa-sort-up,
th .sortable-header .fa-sort-down {
	opacity: 1;
	color: black;
}

/* Home Page Styles */
.quick-action-card {
	display: block;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
	color: inherit;
}

.quick-action-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
	text-decoration: none;
	color: inherit;
}

.news-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card .card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-card .card-content .content {
	flex: 1;
}