body {
    font-family: 'ABeeZee', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    margin: 0;
    padding: 0px 120px 120px;
}

h1 {
    font-family: 'Fredericka the Great', cursive;
    color: #d9534f;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Fredericka the Great', cursive;
    color: #5bc0de;
    font-size: 1.8rem;
    margin-top: 20px;
}

.h2_color {color: #d9534f;}

label, select, input, textarea {
    font-size: 0.75rem;
}

.container {
   border: 1px solid gainsboro;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 20px
}

.user-info-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.cart-table-section, .summary-section, .comment_div, .recommendations_section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.cart-table-section table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart_table th, .cart_table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.cart_table th {
    background-color: #5bc0de;
    color: white;
    text-align: left;
    font-weight: bold;
}

.cart_table td {
    font-size: 1em;
    text-align: left;
}

.action_buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}


button {
    padding: 10px 15px;
    background-color: #5bc0de;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #31b0d5;
}

button[type="submit"][name="buy"] {
    background-color: #28a745;
}

button[type="submit"][name="buy"]:hover {
    background-color: #218838;
}

a.button-link {
    padding: 10px 15px;
    background-color: #d9534f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

a.button-link:hover {
    background-color: #c9302c;
}

.vissza_button {
    text-align: center;
    margin-top: 30px;
}

.vissza_button a {
    color: #ffffff;
    padding: 10px 20px;
    background-color: #de5b5b;
    border-radius: 5px;
    text-decoration: none;
}

.vissza_button a:hover {
    background-color: #c9302c;
}

.payment_div, .accept_div, .recommendations_section {
    margin-top: 20px;
}

textarea {
    width: 100%;
   
    border-radius: 5px;
    border: 1px solid #ced4da;
    resize: none;
    font-family: 'ABeeZee', sans-serif;
}

.recommendation_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.item_name {
    flex-grow: 1;
    font-size: 1.1rem;
    margin-right: 10px;
}

.item_price {
    margin-right: 10px;
    font-size: 1.1rem;
    color: #343a40;
}

.add_to_cart_form {
    display: inline-block;
}

.add_to_cart_form button {
    padding: 5px 10px;
    background-color: #5bc0de;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add_to_cart_form button:hover {
    background-color: #31b0d5;
}

.left-section {width: 50%;}
.right-section {width: 50%;}

.user_block {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

@media (max-width: 1150px) {

    body {padding: 20px;}
    .left-section {width: 100%;}
    .left-section p {margin: 0;font-size: 34px;}
    .left-section tbody {font-size: 34px;}
    .right-section {width: 100%;}
    .right-section button {font-size:30px;}
    .action_buttons button {font-size:30px;}
    .item_name {font-size:30px;}
    .payment_div label, select {font-size: 34px;}
    .container {display: block;grid-template-columns: 1fr; /* Mobil nézetben az oszlopok egymás alá kerülnek */}
h1 {font-size: 2rem;}
h2 {font-size: 1.5rem;}

}
