 :root {
 --bg-primary: #bf461e;


 }
 .bg-primary {
	 background-color: var( --bg-primary) !important;
 }
/* -------------------- HEADER ELEMENTS -------------------- */

#logo {
    height: 40px;
    width: 50px;
    margin: 10px 20px;
    float: left;
}

#title {
    background-color: black;
    width: 100%;
    display: inline-block;
}

#searchBox {
    height: 20px;
    width: 800px;
    margin: 20px;
    float: left;
    font-size: 1.5em;
}

#searchButton,
#signInButton,
#kart {
    margin: 20px;
    float: left;
}

#signInButton {
    color: yellow;
}

#kart {
    color: white;
}

#cartIcon {
    height: 30px;
    width: 30px;
}

/* -------------------- DROPDOWN MENU -------------------- */

.dropbtn {
    background-color: black;
    color: white;
    padding: 16px;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    float: left;
}

.dropdown-content  {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 0 16px rgba(0,0,0,0.2);
}

.dropdown-content a {
    font-size: 14px;
    padding: 12px 16px;
    color: black;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: gray;
}

/* -------------------- PRODUCT & DESCRIPTION -------------------- */

.product-image,
#itemImage {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.description-table td,
#descriptionTable td {
    padding: 0.5rem;
}

.description-table tr:nth-child(odd),
#descriptionTable tr:nth-child(odd) {
    background-color: #f8f9fa;

}
.btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    text-decoration: none;
    transition: 0.2s ease;
    flex-shrink: 0; /* verhindert, dass der Kreis kleiner gedrückt wird */
}

.btn-cart i {
    font-size: 1.4rem;
    line-height: 0; /* sorgt dafür, dass das Icon pixelgenau mittig sitzt */
}


.btn-cart:hover {
    background: #0b5ed7;
    color: white;

}

.add-to-cart {
	background: var(--bg-primary);
	width: 30px;
	height: 30px;
	padding:10px;
	justify-content: center;
}
a i.add-to-cart {
	color: #fff;
	font-size: 1.5rem;
}
/* -------------------- PROFILE / LOGIN / REGISTER UI -------------------- */

.profile-card,
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.nav-icons {
    font-size: 1.2rem;
}

.profile-menu-item {
    border-radius: 10px;
    transition: 0.3s ease;
}

.profile-menu-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.search-form {
    max-width: 400px;
}

.register-container,
.form-container {
    max-width: 800px;
}

.form-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.25);
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider::before { margin-right: 0.5em; }
.divider::after { margin-left: 0.5em; }

/* -------------------- CHECKOUT TABLE -------------------- */

#tableItems,
#display {
    margin: 20px;
}

#itemName,
#itemPrice {
    height: 100px;
    margin: 5px;
}

#itemName {
    width: 200px;
    float: left;
}

#itemPrice {
    display: inline-block;
}

#itemNameTag,
#subtotal {
    font-weight: bold;
}

#subtotal {
    font-size: 20px;
}

#total {
    padding-left: 280px;
}

/* -------------------- PRODUCT DETAILS -------------------- */



#productDescription {
    margin: 20px;
    display: inline-block;
    font-size: 19px;
}

#addToCart {
    font-size: 20px;
}
        .confirmation-header {
            background-color: #d4edda;
            border-radius: 0.5rem;
        }
        .order-item {
            border-bottom: 1px solid #dee2e6;
            padding: 1rem 0;
        }
        .order-item:last-child {
            border-bottom: none;
        }
		        .nav-icons {
            font-size: 1.2rem;
        }
        .cart-item {
            border-bottom: 1px solid #dee2e6;
            padding: 1rem 0;
        }
        .cart-item:last-child {
            border-bottom: none;
        }
        .book-image {
            max-width: 80px;
            height: auto;
            object-fit: cover;
        }
        .dropdown-toggle::after {
            display: none;
        }