/* Global Layout Styling */
body, html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: #f8f9fa;
}

/* Content Flex Control */
.content {
    flex: 1;
}

/* Footer Styling */
footer {
    flex-shrink: 0;
}

/* Navbar Styling */
.navbar {
    background-color: #121212 !important;  
    border-bottom: 2px solid #333;        
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}
/* Narrow Button Styling */
.custom-width {
    width: 150px; /* Set a specific width for buttons */
    text-align: center;
    display: inline-block;
}

/* Mobile App Button Styling */
.btn-grey {
    background-color: #6c757d; /* Bootstrap's secondary grey */
    border: none;
    border-radius: 5px; /* Slight rounding for modern look */
    color: white;
    font-size: 14px; /* Standard font size */
    padding: 10px 20px; /* Default padding */
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-grey:hover {
    background-color: #5a6268; /* Slightly darker grey on hover */
}
/* General form styling for consistent indentation and spacing */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #121212;  /* Matching the dark theme */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
    color: #ddd;
}

/* Style all form inputs and labels */
form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #1e1e1e;
    color: white;
    box-sizing: border-box;
}

form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

/* Button Styling */
form button {
    background: #007BFF;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

form button:hover {
    background: #0056b3;
}

/* Error message styling */
.errorlist {
    color: red;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* Alignment fix for forms inside flex containers */
form div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
