.side-panel a {
    color: rgb(255, 255, 255);
}

.side-panel p {
    color: rgb(255, 255, 255);
}

.side-panel h2 {
    color: rgb(255, 255, 255);
    margin-bottom: 5px;
}

.side-panel.active a {
    color: rgb(255, 255, 255);
}

.side-panel.active p {
    color: rgb(255, 255, 255);
}
.side-panel.active span {
    color: rgb(255, 255, 255);
}

.side-panel.active h2 {
    color: rgb(255, 255, 255);
}

#logout {
    color: #ff4747;
    text-shadow: 0px 0px 5px rgb(255, 137, 137);
    font-family: bebas;
    letter-spacing: 0.05em;
    font-size: 20px;
}

.floating-menu {
    position: fixed;
    top: calc(12vh + 2%);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1500;
}

.menu-icon {
    width: 50px;
    height: 50px;
    background-color: #333;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    opacity: 0.75;
    
}

.menu-icon:hover {
    transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
    background-color: #333;
    opacity: 1;
}

/* 🌟 Panele boczne */
.side-panel {
    position: fixed;
    top: calc(12vh + 2%);
    right: -320px;
    width: 320px;
    font-family: arial;
    font-weight: bold;
    height: 40vh;
    background-color: #13376d;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.15);
    
    transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2000;
    opacity: 0;
}

.side-panel.active {
    right: 0;
    opacity: 1;
}


.close-btn {
    position: absolute;
    left: -19px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #102b55;
    color: white;
    border: none;
    width: 20px;
    height: 40vh;
    cursor: pointer;
    border-radius: 0px 10px 10px 0px; 
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: transform 0.3s ease, background 0.2s ease;
}

.side-panel.active .close-btn {
    display: flex;
    transform: translateY(-50%) rotate(180deg);
}

.close-btn:hover {
    background-color: #153465;
    transform: translateY(-50%) rotate(180deg) scale(1.1);
}

/* 🌟 Przycisk hover */
.button, .checkout-btn, .btnpressac, .account-btn, .logout-btn {
    margin-top: 10px;
    padding: 10px;
    cursor: pointer;
    border: none;
    color: white;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: Arial, sans-serif;
}

.btnpress{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    padding: 4px;
    cursor: pointer;
    border: none;
    color: white;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: Arial, sans-serif;
    background-color: #ff4d4d ;
}



.btnpress:hover{
   
    background-color: #bb0d0d !important;
    transform: scale(1.05);
}

.button, .btnpressac {
    background-color: #007bff;
}

.checkout-btn {
    background-color: #007bff;
}





.account-btn {
    background-color: #007bff;
}

.logout-btn {
    background-color: #ff4747;
}

.button:hover, .checkout-btn:hover,.btnpressac:hover, .account-btn:hover {
    background-color: #3399ff;
    transform: scale(1.05);
}

.logout-btn:hover {
    background-color: #ff1a1a;
    transform: scale(1.05);
}

/* Koszyk */
#cart-items {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 50vh;
    overflow-x: hidden;
}

#total-price {
    color: #ff2600;           /* Kolor tekstu */
    font-size: 18px;          /* Rozmiar czcionki */
    font-weight: bold;        /* Pogrubienie tekstu */
    font-family: 'Arial';  /* Rodzaj czcionki */
    margin-top: 6px;
    
}


#extra-items {
    font-weight: bold;
    color: #555;
}

.cart-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    transition: background 0.2s ease;
    filter: drop-shadow(0px 0px 3px #000000);

}

.cart-icon:hover {
    background-color: #333;
}

.cart-counter {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    font-size: 14px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    border: 1.3px solid white;
    transition: transform 0.2s ease-in-out;
}

.login-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    transition: background 0.2s ease;
    flex-direction: column;
    text-align: center;
    filter: drop-shadow(0px 0px 3px #000000);

}

.login-icon .username {
    font-size: 8px;
    font-weight: bold;
    font-family: arial;
    letter-spacing: 0.18em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: absolute;
    top: 5px;
    width: 90%;
    text-align: center;
}

.logout-link {
    text-decoration: none;
    font-family: Arial, sans-serif;
    color: white;
    font-size: 16px;
    display: inline-block;
    padding: 8px 12px;
    transition: color 0.2s ease;
}

.logout-link:hover {
    color: #ddd;
}

#logged-content a {
    text-decoration: none;
}

#cart-items img {
    border-radius: 8px;
    object-fit: cover;
}

#cart-items .remove-btn {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #ff4747;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#cart-items .remove-btn:hover {
    background-color: #ff2a2a;
    transform: scale(1.1);
}

#cart-items .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    background-color: #0000006b;
    border-radius: 5px;
}

.cart-item p{
    padding: 2px;
}

#cart-items::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

#cart-items::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 50px;
}

#cart-items::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 50px;
    border: 1px solid #5ad3ff;
}

#cart-items::-webkit-scrollbar-thumb:hover {
    background-color: #0056b3;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #007bff;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:hover {
    border-color: #0056b3;
}

input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 8px rgba(0, 91, 187, 0.5);
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.side-panel input {
    width: 90%;
    margin-bottom: 10px;
}

 
#cart-item span {
    color: #ffffff !important;
    font-family: arial !important;
    font-weight: bold !important;

}


