html {
    height: 100%;
}

body {
    background: url('/media/honeycomb.jpg') no-repeat center center fixed;
    background-size: cover;
    height: calc(100vh - 164px);
    color: #555;
    font-family: 'Lato';
}

#topnav .col-12 {
    text-align: center !important;
}

#topnav .logo-font {
    font-size: 2rem;
    font-weight: bold;
}

#topnav .nav-link.main-logo-link {
    display: inline-block;
}

#topnav h2 {
    margin: 0;
}

#reset-husbandry-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-name {
    padding-top: 8px;
    padding-bottom: 8px;
}

#reset-husbandry-form button {
    margin-left: 10px;
}

#reset-button:disabled {
    cursor: no-drop !important;
    opacity: 0.8;
}

#husbandry-filter-form button[disabled] {
    background-color: #e0e0e0;
    color: #6c757d;
    border: 1px solid #6c757d;
}

#husbandry-toast {
    width: auto;
    max-width: 400px; 
    word-wrap: break-word;
    text-align: center;
}
#husbandry-toast .toast-body {
    font-size: 1rem;
    padding: 1rem;
}

#shaded-area {
    display: flex;
    flex-direction: column;
    background-color: rgba(250, 250, 250, 0.8);
    width: 330px;
}

/* from Bulma */
.icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
}

.logo-font {
    font-family: 'Belleza', sans-serif;
    text-transform: uppercase;
}

.align-to-text {
    height: 1em;
    vertical-align: middle;
}

.main-logo-link {
    width: fit-content;
}

.shop-now-button {
    background: black;
    color: white;
    min-width: 260px;
}

.btn-black {
    background: black;
    color: white;
}

.btn-outline-black {
    background: white;
    color: black !important; /* use important to override link colors for <a> elements */
    border: 1px solid black;
}

.btn-outline-black:hover,
.btn-outline-black:active,
.btn-outline-black:focus {
    background: black;
    color: white !important;
}

.shop-now-button:hover,
.shop-now-button:active,
.shop-now-button:focus,
.btn-black:hover,
.btn-black:active,
.btn-black:focus {
    background: #222;
    color: white !important;
}

.text-black {
    color: #000 !important;
}

.border-black {
    border: 1px solid black !important;
}

.bg-black {
    background: #000 !important;
}

.overlay {
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	position: fixed;
	background: white;
	z-index: -1;
}

a.category-badge > span.badge:hover {
    background: #212529 !important;
    color: #fff !important;
}

.btt-button {
    height: 42px;
    width: 42px;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.btt-link,
.update-link,
.remove-item {
    cursor: pointer;
}

input[name='q']::placeholder {
    color: #aab7c4;
}

/* ------------------------------- bootstrap toasts */

.message-container {
    position: fixed;
    top: 72px;
    right: 15px;
    z-index: 99999999;
}

.custom-toast {
    overflow: visible;
}

.toast-capper {
    height: 2px;
}

/* -------------------------------- Media Queries */

/* Slightly larger container on xl screens */
@media (min-width: 1200px) {
    .container {
        max-width: 80%;
    }
}/* Allauth form formatting */

.allauth-form-inner-content p {
    margin-top: 1.5rem;
    color: #6c757d;
}


.allauth-form-inner-content input {
    border-color: #000000;
    border-radius: 0;
}

.allauth-form-inner-content label:not([for='id_remember']) {
    display: none;
}

.allauth-form-inner-content input::placeholder {
    color: #aab7c4;
}

.allauth-form-inner-content button,
.allauth-form-inner-content input[type='submit'] {
	/* btn */
	display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #000;
    border: 1px solid #000;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.allauth-form-inner-content button:hover,
.allauth-form-inner-content input[type='submit']:hover {	
	color: #fff;
    background-color: #222;
    border-color: #222;
}

.allauth-form-inner-content a {
	color: #17a2b8; /* text-info */
}

/* Custom .allauth Page Styles */
.allauth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background-color: #f8f9fa;
    padding: 20px;
}

.allauth-box {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    padding: 20px;
}

.allauth-form h2 {
    font-size: 1.5rem;
    color: #343a40;
}

.allauth-form p {
    color: #6c757d;
}

.allauth-form form {
    margin-top: 15px;
}

.allauth-form .btn {
    width: 100%;
    padding: 10px;
}

.allauth-messages {
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.allauth-messages li {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}


.allauth-social-login {
    text-align: center;
}

.allauth-social-login a {
    text-decoration: none;
    color: #007bff;
    font-size: 0.9rem;
}

/* Product Form */
.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .custom-control-label::before {
    border-radius: 0;
    border-color: #dc3545;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 0;
}

.bg-honey {
    background-color: #f0c717;
}

.fourohfour-container, .confirm-container, .nl-signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding: 20px;
    background-color: #f5f5f5;
}

.fourohfour-box, .confirm-box, .nl-signup-box {
    text-align: center;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.fourohfour h1, .confirm h1, .nl-signup h1 {
    font-size: 48px;
    color: #ff6f61;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.fourohfour p, .confirm p, .nl-signup p {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}

.fourohfour a, .confirm a, .nl-signup a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

#shaded-area {
    display: flex;
    flex-direction: column;
    background-color: rgba(250, 250, 250, 0.8);
    width: 330px;
}


/* fixed top navbar only on medium and up */
@media (min-width: 992px) {
    .fixed-top-desktop-only {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    .header-container {
        padding-top: 205px;
    }
}

/* pad the top a bit when navbar is collapsed on mobile */
@media (max-width: 991px) {
    .header-container {
        padding-top: 116px;
    }

    body {
        height: calc(100vh - 116px);
    }
}

@media (max-width: 534px) {
    .mobile-header .list-inline-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 465px) {
    .mobile-header .list-inline {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0;
    }

    .mobile-header .list-inline-item {
        flex: 1;
        text-align: center;
        padding: 0 !important; 
    }

    .mobile-header .list-inline-item i {
        font-size: 0.9rem;
    }

    .mobile-header .list-inline-item p {
        font-size: 0.8rem;
    }

    .home-text h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 385px) {
    .mobile-header .list-inline-item i {
        font-size: 0.8rem;
    }

    .mobile-header .list-inline-item p {
        font-size: 0.6rem;
    }

}
