﻿.mainNav {
    margin-top: 20px; 
}

.header-container {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem 1.2rem 2rem;
    background-color: #f6faf6;
    width: 100%;
    height: 4.5rem;
    margin-top: 1%;
}

#NavH1 {
  font-size: 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    color: #333; 
    flex-shrink: 0;
}

.bg-primary {
    background: linear-gradient(#00586E, #003D4C, #00586E);
}
.navbar {
 display: flex;
    font-family: sans-serif;
    font-weight: 400;
    padding-top: 1.5rem;
}

.navbar a {
    text-decoration: none;
    color: #333;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin-left: 1rem;
    padding: 0;
}

#mainNavBar {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-left: auto; 
}

#mainNavBar a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;

}

#mainNavBar a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
}

#mainNavBar a:focus {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
    }

/* Sticky Footer Layout */
html, body {
    height: 100%;
}

.mainBody {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    margin: 0;
    padding: 0;
    background: linear-gradient( #00586E, #003D4C, #00586E);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content should grow to fill available space */
.container {
    flex: 1;
}

/* Footer styles */
.footer {
    background-color: #f6faf6;
    border-top: 1px solid #e9ecef;
    padding: 1rem 0;
    margin-top: auto;
    width: 100%;
}

.card {
    background-color: #f6faf6;
}

.midBody {
    margin-top: 5%;
    padding: 1rem 0rem 1rem 2rem;
    margin-left: -18%;
}

#login {
    padding: 1rem 0rem 1rem 2rem;
    margin-right: 50%;
}

#BoothLogin {
    padding: 1rem 0rem 1rem 2rem;
    border-color: black;
    background-color: black;
    color: white;
    border-style: solid;
    height: 8rem;
}

#BthsBTN {
    margin: 1rem;
    padding: 1rem 0rem 1rem 2rem;
    border-color: black;
    background-color: black;
    color: white;
    border-style: solid;
    height: 8rem;
    margin-left: 34%;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

#infoS {
    color: white;
    font-size: 3rem;
}

#BoothsBTN, .submit1 {
    color: white;
    font-size: 2rem;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
cursor: pointer;
}

.submit1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-color: black;
    background-color: black;
    color: white;
    border-style: solid;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
text-align: center;
    width: 50%;
}

#BoothsBTN:hover, #BoothLogin:hover, .submit1:hover, #BthsBTN:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#BoothsBTN:active, #BoothLogin:active, .submit1:active, #BthsBTN:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #1a1a1a;
}

.email, .password {
font-size: 0.95rem;
    padding: 0 1rem;
    margin: 0.5rem 0;
    width: 50%;
    box-sizing: border-box;
    border: 2px solid transparent;
    background-color: white;
    height: 3.5rem;
    transition: all 0.3s ease;
 transform-origin: center;
line-height: 3.5rem;
    vertical-align: middle;
}

.email:hover, .password:hover {
    border-color: #999;
    transform: scale(1.02);
}

.email:focus, .password:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.2);
    transform: scale(1.05);
    width: 55%;
}

#BoothsBTN:focus, .submit1:focus {
    border-color: #999;
  transform: scale(1.02);
}

.email::placeholder, .password::placeholder {
    color: #000000;
transition: all 0.3s ease;
    position: relative;
}

.email:focus::placeholder, .password:focus::placeholder {
    opacity: 0;
    transform: none;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

 20% {
        transform: translateX(-8px);
 }

 40% {
     transform: translateX(8px);
    }

    60% {
    transform: translateX(-6px);
    }

    80% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 360ms ease-in-out;
    border-color: #ff6b6b !important;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.2);
}

#successMessage {
    color: green;
    font-size: 1rem;
    margin-top: 1rem;
    display: relative;
    color: white;
    font-size: 2rem;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
    border: #4CAF50 solid;
text-align: center;
width: 50%;
    background-color: #4CAF50;
}

#hrLine {
 border: 0.1px solid grey;
    opacity: .25;
    margin: 1rem 0;
    width: 50%;
}

#errorMessage {
    color: red;
 font-size: 1rem;
  margin-top: 1rem;
    display: relative;
    color: white;
    font-size: 2rem;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
    border: #ff6b6b solid;
    text-align: center;
    width: 50%;
    background-color: #ff6b6b;
}

#loggedInUser {
    margin-right: 116px;
    font-weight: bold;
    display: flex;
float: left;
    width: 20rem;
  margin-top: -6%;
    position: absolute;
    text-transform: capitalize;
}

#statusFilter {
    margin-top: 13%
}

#loginError {
    width: 50%;
    margin-top: 1rem;
}

.bg-dark {
    background-color: #006bd5 !important;
}

#badge bg-dark float-end {
    background-color: #0056b3 !important;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

 to {
  transform: rotate(360deg);
    }
}

.spinning {
    animation: spin 1s linear infinite;
    display: inline-block;
}

.form-control {
    border-radius: 0px;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

.navbar-form {
    margin: 0;
    padding: 0;
}

    .navbar-form .btn-link {
        border: none;
        background: none;
        color: #333;
        padding: 0.5rem 1rem;
        text-decoration: none;
        border-radius: 4px;
        transition: background-color 0.3s ease;
        margin-left:4rem;
        margin-top: -0.6rem;
        font-size: 1.3rem
    }

.navbar-form .btn-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
  align-items: flex-start;
    }
    
    #mainNavBar {
        flex-wrap: wrap;
  gap: 1rem;
        margin-top: 1rem;
     margin-left: 0;
    }
}

