/* Base styles for the application */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400&display=swap');

body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

[data-bs-toggle="tooltip"], [data-bs-toggle="popover"] {
    visibility: hidden;
}

/* Header & Footer */
header, footer {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: relative;
    width: 100%;
}

/* Logo and Title */
.logo {
    position: absolute;
    left: 15px; /* Adjust for proper positioning */
    top: 50%;
    transform: translateY(-50%);
    width: 180px; /* Adjust as needed */
    height: auto;
}

.title {
    padding-left: 220px; /* To compensate for the logo */
    font-size: 24px;
    color: #fff;
}

/* Navbar */
.navbar {
    background-color: #e6e6e6;
    border-bottom: 1px solid #ccc;
}

.navbar-nav .nav-link {
    color: #333;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #78797a;
}

/* Dropdown Styling */
.dropdown-menu {
    transition: opacity 0.2s ease, transform 0.1s ease-in-out;
    transform: translateY(5px);
    opacity: 0;
    display: block;
    visibility: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Flash Messages */
.alert {
    position: fixed;
    top: 15px;
    right: 15px;
    min-width: 250px;
    max-width: 400px;
    z-index: 1050;
    transition: opacity 0.5s ease-in-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/* Button Styling */
.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Forms */
.form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Tables */
.table {
    background: #fff;
    border-radius: 5px;
}

.table th {
    background: #b0b0b1;
    color: white;
    text-align: left;
}

.table td {
    padding: 10px;
}

.btn-icon {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo {
        width: 140px;
    }
    .title {
        padding-left: 160px;
        font-size: 20px;
    }
}

#customPendingEscalationsModal {
    display: none;
    visibility: hidden;
    opacity: 0;
    z-index: 1050;
    position: fixed; /* Ensure it covers the whole screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.custom-modal-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 60%;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

/* Ensure the modal stays hidden */
.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -1 !important;
}

/* Close Button */
.custom-close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Table */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.custom-table th, .custom-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.custom-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.custom-mailto {
    text-decoration: none;  /* Remove underline */
    color: inherit;         /* Inherit text color (or set a specific color) */
  }
  
  .custom-mailto:hover {
    text-decoration: none;  /* Prevent underline on hover as well */
    color: #99A3A0;         /* Or change to a different color on hover if desired */
  }