html, body {
    height: 100%; /* Ensure full height for body */
    margin: 0; /* Remove default margin */
}

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    background-color: #f0f4f8; /* Soft background color */
    color: #333; /* Dark text color */
    line-height: 1.6;
    display: flex;
    flex-direction: column; /* Use column layout */
    justify-content: space-between; /* Space between header, main, and footer */
}

header {
    display: flex;
    justify-content: center; /* Center title */
    align-items: center; /* Center items vertically */
    background-color: #003a6d; /* Primary color */
    color: white;
    padding: 20px;
    position: relative; /* Position relative for absolute child */
}

main {
    flex: 1; /* Grow to fill available space */
    display: block;
    justify-content: center;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #af0000; /* Match header */
    color: white;
}

/* Fullscreen spinner */
#spinner {
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinning animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add styling for your content */
#content {
    text-align: center;
    padding: 20px;
}

.is-invalid {
    border: 2px solid red; /* Add red outline */
}

[ng-cloak] {
    display: none !important;
}
  
.navbar {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background-color: #4d4d4d;
}

.navbar li {
    margin-right: 10px;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
    text-align: center;
}

.navbar a:hover {
    background-color: #bebebe;
}

th i {
    margin-left: 5px; /* Space between text and icon */
    cursor: pointer;
}

nav ul li:not(.disabled) {
    cursor: pointer;
}

/* Styles for the floating button */
.floating-button {
    position: fixed; /* Keeps it in the same spot even when scrolling */
    bottom: 90px; /* Adjust distance from the bottom of the viewport */
    right: 20px; /* Adjust distance from the right of the viewport */
    z-index: 1000; /* Ensures it stays above other content */
    width: 60px; /* Width for a circular button */
    height: 60px; /* Height for a circular button */
    border-radius: 50%; /* Makes the button round */
    background-color: #007bff; /* Primary button color */
    color: white; /* Icon color */
    border: none; /* Removes the default border */
    display: flex; /* Centers the content inside the button */
    justify-content: center; /* Horizontally centers content */
    align-items: center; /* Vertically centers content */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Adds a shadow for depth */
    cursor: pointer; /* Shows a pointer cursor on hover */
}

/* Hover effect */
.floating-button:hover {
    background-color: #0056b3; /* Darker shade of blue on hover */
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

.pointer {
    cursor: pointer;
}

.link-style {
    color: #007bff; /* Set color to blue, similar to default anchor */
    text-decoration: underline; /* Add underline to simulate link appearance */
    cursor: pointer; /* Change cursor to a hand pointer */
 }
 
 .link-style:hover {
    color: #0056b3; /* Change color on hover to give a hover effect */
 }

 .changelog-section {
    margin-bottom: 2rem;
    padding: 1rem;
    border-left: 4px solid #007bff;
    background: #f9f9f9;
    padding-left: 4rem;
}

.subversion {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px dashed #ccc;
}

.subversion h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.subversion ul {
    margin-top: 0;
}

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

.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.collapsible.open {
    max-height: 1000px;
}

@keyframes ai-overlord-glow {
    0% {
        background-position: 0% 50%;
        text-shadow:
            0 0 5px rgba(0, 255, 255, 0.6),
            0 0 10px rgba(0, 255, 255, 0.6),
            0 0 15px rgba(255, 0, 255, 0.5);
    }
    50% {
        background-position: 100% 50%;
        text-shadow:
            0 0 8px rgba(0, 255, 255, 0.8),
            0 0 16px rgba(0, 255, 255, 0.7),
            0 0 24px rgba(255, 0, 255, 0.6);
    }
    100% {
        background-position: 0% 50%;
        text-shadow:
            0 0 5px rgba(0, 255, 255, 0.6),
            0 0 10px rgba(0, 255, 255, 0.6),
            0 0 15px rgba(255, 0, 255, 0.5);
    }
}

.navbar-custom {
    background-color: #1e1e1e; /* or try #2c2c2c for a softer gray */
}

.navbar-custom .navbar-nav .nav-link.active {
    background-color: #af0000;
    color: #ffffff !important;
    border-radius: 0.25rem;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #af0000;
}

.modal-body .row {
    margin-top: 0.5rem;
}