/* Background */
body {
    background-color: #F4F7FC;
    font-family: 'Roboto', sans-serif;
}

/* Navbar */
.navbar {
    background-color: #33475B;
    border-bottom: 2px solid #2C3E50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    /* White border */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-brand,
.nav-link {
    color: #FFFFFF !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f39c12 !important;
    text-decoration: none;
}

.nav-item span {
    color: #FFFFFF;
}

.nav-link-separator {
    color: #FFFFFF;
}

.username {
    color: #f39c12 !important;
    margin-right: 10px;
}

/* Card Styling */
.card {
    border: 1px solid #C1C8D6;
    background-color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.stretched-link {
    text-decoration: none !important;
    color: #33475B;
}

.job-link:hover {
    color: #e67e22
}

/* Dashboard Styling */
.dash-job-link {
    text-decoration: none;
}

.dash-job-link:hover {
    color: #e67e22;
}

.btn-dash {
    padding: 6px 12px;
}

.btn-warning:hover {
    background-color: #e67e22;
}

.btn-danger:hover {
    background-color: #c0392b;
}


/* Job Links */
.job-link {
    text-decoration: none;
    color: #22303C;
}

.job-link:hover {
    text-decoration: underline;
}

/* Form Styling */
.form-label {
    font-weight: bold;
    color: #22303C;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #C1C8D6;
    padding: 10px;
    box-shadow: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #f39c12;
    box-shadow: 0 0 5px rgba(243, 156, 18, 0.5);
}

.btn-primary {
    background-color: #33475B;
    border-color: black;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e67e22;
    border-color: #e67e22;
}

.forgot-pass a {
    text-decoration: none;
}

.forgot-pass:hover a {
    color: #e67e22;
}

/* Buttons */
ul {
    list-style-type: none;
    padding: 0;
}

.btn-group {
    margin-left: 10px;
}

.btn {
    margin-top: 5px;
}

/* Footer */
.footer {
    background-color: #33475B;
    border-top: 2px solid #2C3E50;
    color: #FFFFFF;
    padding: 20px 0 0 0;
    text-align: center;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Ensure the footer always stays at the bottom */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1; /* Makes the main content take the available space */
}

.footer {
    padding-top: 10px;
    margin-top: 20px;
}

.footer a {
    color: #f39c12;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Custom styling for mobile view */
@media (max-width: 991px) {

.navbar-nav {
    text-align: left !important;
    width: 100%;
    }

.navbar-nav .nav-item {
    width: 100%;
    }

.navbar-nav .nav-link {
    padding-left: 15px;
    text-align: left;
    }

.navbar-nav .nav-link-separator {
    display: none;
    }
}