/* Logo Styling */
.logo {
    max-width: 80px;  /* Adjust size */
    height: 80px;
    display: block;
    object-fit: contain;
}

/* Logo Container */
.logo-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000; /* Ensures it's on top */
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .logo {
        max-width: 60px; /* Smaller logo for mobile */
    }
    .logo-container {
        top: 5px;
        left: 5px;
    }
}

/* Navbar Styling */
.navbar {
    padding: 8px 15px; /* Reduce space for a compact look */
}

.custom-navbar {
    position: fixed;
    top: 100px; /* Adjust this value to place it lower */
    width: 100%;
    z-index: 999;
    background-color: #2c3e50;
}

.navbar-collapse.show {
    display: block !important;
}

.navbar-collapse.collapse {
    display: none;
}

.navbar-collapse.collapse.show {
    display: block;
}

.navbar-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item {
    margin-left: 10px; /* Reduce space between menu items */
}

.navbar-nav .nav-link {
    font-size: 1rem; /* Slightly larger font */
    color: #f8f9fa;
    padding: 10px 15px; /* Enough space for text */
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #d1d1d1; /* Subtle hover effect */
}

/* Scrolling Disclaimer */
.disclaimer-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Footer Styling */
.footer {
    background-color: #2c3e50; /* Darker Navy Blue */
    color: white; /* White text for readability */
    font-size: 0.85rem;
    text-align: center;
    padding: 15px 0; /* Adjust padding to make the footer a bit more spacious */
}

.footer a {
    color: #f8f9fa; /* Light text for the link */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
}

.footer a:hover {
    color: #d1d1d1; /* Subtle hover effect */
}

/* Optional: To match the footer's text color style */
.footer p {
    color: #f8f9fa; /* Light text color for the copyright */
    margin-top: 10px; /* Optional: spacing between the link and the text */
}


html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

/* Button Styling */
.btn-primary {
    background-color: #2c3e50; /* Match Darker Navy Blue */
    border: none;
    font-size: 0.9rem; /* Smaller button font */
    padding: 8px 15px;
    transition: background-color 0.3s;
    color: white; /* Ensure text is visible on the dark background */
}

.btn-primary:hover {
    background-color: #1a2634; /* Slightly darker shade for hover effect */
}

/* Highlight labels on all add/edit forms */
.form-highlight label {
    font-weight: 600;           /* Slightly bolder */
    color: #1e3c72;             /* Dark blue to match dashboard theme */
    margin-bottom: 0.25rem;     /* Slight spacing from input */
    display: block;
}

.form-highlight .form-group {
    margin-bottom: 1.25rem;     /* Consistent spacing between fields */
}

/* Rounded buttons consistent with dashboard style */
.rounded-btn {
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.rounded-btn.btn-primary:hover {
    background-color: #1a3a72; /* slightly darker blue */
    border-color: #1a3a72;
}

.rounded-btn.btn-outline-danger:hover {
    background-color: #f8d7da; /* light red */
    color: #721c24;
    border-color: #f5c6cb;
}

.btn-gradient {
    font-weight: 600;
    color: #fff;
    border-radius: 25px;
    padding: 10px 25px;
    background: linear-gradient(270deg, #1e3c72, #4682b4, #1e3c72);
    background-size: 600% 600%;
    animation: gradientAnimation 8s ease infinite;
}
.btn-gradient:hover { transform: scale(1.05); }

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

