/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Logo styling */
.navbar-brand img {
    transition: transform 0.2s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navbar container - enables proper positioning */
.navbar-container {
    position: relative;
    height: 70px;  /* Reduced height for the top banner */
    overflow: visible;
}

/* Navbar styling with reduced height */
.navbar {
    padding: 0;
    height: 120px;
    display: flex;
    align-items: center;
}

/* Logo styling to maintain 200px height */
.navbar-logo {
    height: 100px;
    width: auto;
    margin-top: 0;
    margin-right: 20px;
    position: relative;
    
}

/* Position the navigation elements vertically */
.navbar-collapse {
    align-self: center;
    margin-left: 120px; /* Make space for the large logo */
}

/* Ensure nav links are centered vertically */
.navbar-nav {
    align-items: center;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-left: 0;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #f8f9fa;
        padding: 15px;
        z-index: 1000;
        border-bottom: 1px solid #dee2e6;
    }
    
    .navbar-logo {
        height: 150px; /* Smaller on mobile */
        top: 40px;
    }
}

/* Add spacing to content to prevent overlap with logo */
main {
    padding-top: 100px;
}

/* General styling */
html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px; /* Margin bottom by footer height */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-top: 20px;
    padding-bottom: 20px;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px; /* Fixed height of the footer */
    line-height: 60px; /* Vertically center text */
    background-color: #f5f5f5;
}

.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #e9ecef;
    border-radius: 0.3rem;
    margin-top: 20px;
}

/* Sticky footer styles */
.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Form styles */
.form-group {
    margin-bottom: 15px;
}

.form-check {
    margin-bottom: 15px;
}

.validation-summary-errors {
    color: #ff3636;
    margin-bottom: 15px;
}

/* Custom page styles */
.container {
    padding-top: 1rem;
}