@import url('colors.css');

body, html{
	margin:0px;
	padding:0px;
	width:100%;
	height:100%;
	position: relative;
    font-family: 'Arial', sans-serif;
    color: var(--grey300);
}
body, html, h1, h2, h3, h4, h5, p{
	font-family: "proxima-nova", "Source Sans Pro", sans-serif;
}

.body {
    
    height: 100vh;
    width: 100vw;
}

.b-radius-total {
	border-radius: 1rem !important;
}

.underline-title {
		border-bottom: 1px solid var(--grey300);
}

.img-ribbon {
	height: 200px;
	width: auto;
	margin-right: 7px;
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px; /* adjust height as needed */
    color: var(--grey200);
    font-family: sans-serif;
}

.no-results i {
    font-size: 40px;
    margin-bottom: 10px;
    color:var(--grey200);
}

.no-results p {
    font-size: 16px;
}


/*Alerts*/
.alert {
    position: fixed;
    top: 5%; /* Start not from the very top */
    left: 50%; /* Position at the center of the viewport horizontally */
    transform: translateX(-50%); /* Adjust to center the element */
    color: var(--blue100);
    background-color: var(--white); /* Red background */
    border: solid 1px var(--blue100); /* Red border */
    width: 50%;
    padding: 15px 35px 15px 15px; /* Extra right padding for the dismiss button */
    border-radius: 6px;
    box-shadow: 0 10px 20px var(--blackalpha);
    z-index: 1061;
    display: inline-block;
    animation: slideIn 0.5s ease forwards, fadeOut 3s 2.5s forwards;
}

.alert-info {
    color:var(--blue100);
    border: solid 1px var(--blue100);
    background-color: var(--white); 
}

.alert-danger {
    color: var(--red100);
    background-color: var(--white);
    border: solid 1px var(--red100);
}

.alert-success {
    color: var(--green100);
    background-color: var(--white);
    border: solid 1px var(--green100);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -100%); /* Slide in from above */
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0); /* Position it in the center horizontally */
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -100%); /* Slide out back to the top */
    }
}

/*Loading Overlay*/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--grey200alpha); 
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Ensure the circle and text are stacked vertically */
}

.loading-container {
    display:flex;
    text-align: center;
    color: #a0aec0; 
    font-family: 'Inter', sans-serif;
}

.loading-circle {
    border: 6px solid var(--white);
    border-radius: 50%;
    border-top: 6px solid var(--blue100); 
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; 
    animation: spin 2s linear infinite;
}

.loading-text {
    margin-top: 15px;
    font-size: 1.2rem;
    font-style: italic;
    color: whitesmoke; 
    padding-left: 25px;
}

/* Spin animation for loading circle */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/*Cards*/
.filament-card-header {
    background-color: var(--grey100); /* Filament-like teal shade */
    border-radius: 0.5rem 0.5rem 0 0; /* Rounded top corners */
    padding: 0.75rem; /* Padding inside the header */
    color:black;
}

.filament-body {
    background-color: var(--white); /* White background for the body */
    border: 1px solid var(--grey200); /* Light grey border */
    padding: 1rem; /* Padding for spacing */
    border-radius: 0 0 0.5rem 0.5rem; /* Rounded bottom corners */
}
/* ticket cards */
.ticket-filament-card {
    /* border: 1px solid #e2e8f0;  */
    border-radius: 8px; /* Rounded corners */
    background-color: #ffffff; /* White background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.2s, box-shadow 0.2s; /* Smooth hover effect */
}
.ticket-filament-card:hover {
    transform: translateY(-4px); /* Lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}
.ticket-filament-card-header {
    background-color:rgb(165, 167, 168); /* Filament-like teal shade */
    border-radius: 0.5rem 0.5rem 0 0; /* Rounded top corners */
    padding: 0.75rem; /* Padding inside the header */
}
.ticket-filament-card-body {
    background-color: #fff; /* White background for the body */
    /* border: 1px solid #e0e0e0; */
    padding: 1rem; /* Padding for spacing */
    border-radius: 0 0 0.5rem 0.5rem; /* Rounded bottom corners */
    height: fit-content;
}
/* resources cards */
.res-filament-card {
    height: 10rem; /* Fixed height for all cards */
    width: 10rem; /* Fixed width for all cards */
    display: flex;
    flex-direction: column; /* Content stacks vertically */
    justify-content: space-between; /* Space between header and body */
    background-color: #fff;
    border: 1px solid #e3e6f0;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
    position: relative;
    z-index:10;
}
.res-filament-card:hover {
    transform: scale(1.2) translateX(2rem); /* Enlarge the card */
    z-index: 999; /* Bring the card to the foreground */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add a shadow for emphasis */

}
.res-filament-card-header {
    background-color: #d1d2d1;
    padding: 0.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    text-align: center;
    color:black
}
.res-filament-card-header p{
    overflow: hidden !important;
    white-space: nowrap; /* Prevent text wrapping to a new line */
    text-overflow: ellipsis; /* Show ellipsis (...) for truncated text */
    margin: 0; /* Remove unnecessary margins */
    padding: 0.5rem; /* Optional: Adjust padding for better alignment */
    display: inline-block; /* Keep the element inline for ellipsis */
    max-width: 100%; /* Ensure it respects the parent's width */
        }

.res-filament-card-body {
    background-color: #fff; /* White background for the body */
    border: 1px solid #e0e0e0; /* Light grey border */
    padding: 1rem; /* Padding for spacing */
    border-radius: 0 0 0.5rem 0.5rem; /* Rounded bottom corners */
    height: fit-content;
}

.res-filament-card img {
    max-width: 100%;
}

/* 🖥️ XL devices (1200px - 1399px) */
@media (max-width: 1399.98px) {
    /* ... */
}

/* 🖥️ Large devices (992px - 1199px) */
@media (max-width: 1199.98px) {
    /* ... */
}

/* 💻 Medium devices (768px - 991px) */
@media (max-width: 991.98px) {
    
}

/* 📱 Small devices (576px - 767px) */
@media (max-width: 767.98px) {
    
}

/* 🌐 Extra small devices (less than 576px) */
@media (max-width: 575.98px) {

    
}

/* 🌐 Extra small devices (less than 480px) */
@media (max-width: 480.98px) {
    /*Alerts*/
    
    /*Cards*/

    /*Login*/
    .loginbox-inner {
        width:90%;
    }
}