body {
    height: 100%;
    min-height: 100vh;
    font-family: 'Lato', 'Arial', sans-serif;
    text-align: center;
    padding: 20px;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
}

#sogaContainer {
    position: absolute;
    top: 20;
    left: 0;
    width: 100%;
}

#sogaContainer>span {
    content: "aa";
    position: fixed;
    width: 50px;
    height: 50px;
    display: block;
    background: #149A7A;
    z-index: 99999999999999999;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}

.container {
    max-width: 600px;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.red {
    background-color: #FFCCCC !important;
}

.green {
    background-color: #DDFFCE !important;
}

.logo {
    width: 150px;
    height: auto;
    margin: 20px 0;
}

h1 {
    color: #149A7A;
    margin-top: 10px;
}

h2 {
    color: #555;
    margin: 15px 0;
}

.table-number {
    display: block;
    margin: auto;
    width: fit-content;
    background-color: #0056b3;
    color: #fff;
    padding: 4px 16px;
    border-radius: 10px;
    font-size: 40px;
    font-weight: bold;
}

button {
    background-color: #149A7A;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
}

button:hover {
    background-color: #264F62;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

label {
    display: block;
    margin-top: 20px;
    font-size: 20px;
    color: #555;
    cursor: pointer;
}

p.label {
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    margin: 15px 0 5px 0;
}

p.data {
    font-size: 20px;
    color: #333;
    margin: 5px 0 15px 0;
    font-weight: 600;
}

p.data a {
    color: #333;
    text-decoration: underline;
}

p.data input,
p.data select {
    display: inline-block;
    width: 300px;
    max-width: 100%;
    padding: 12px 15px;
    font-size: 18px;
    font-family: inherit;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

p.data select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

p.data input:hover,
p.data select:hover {
    border-color: #149A7A;
}

p.data input:focus,
p.data select:focus {
    outline: none;
    border-color: #149A7A;
    box-shadow: 0 0 8px rgba(20, 154, 122, 0.3);
}

p.data input:disabled,
p.data select:disabled {
    background-color: #f0f0f0;
    color: #888;
    cursor: not-allowed;
    border-color: #ddd;
}

p.data input:disabled:hover,
p.data select:disabled:hover {
    border-color: #ddd;
    box-shadow: none;
}

.inline-fields {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.inline-fields p.data {
    margin-top: 5px;
    margin-bottom: 15px;
}

.inline-fields .data select {
    width: 105px;
}

.price-summary {
    margin-top: 25px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

#total-price {
    color: #149A7A;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-buttons button {
    margin: 0 10px;
}

.modal-buttons button.cancel {
    background-color: #888;
}

.modal-buttons button.cancel:hover {
    background-color: #666;
}

/* Niestandardowe style dla radio buttonów płatności */
input[type="radio"] {
    accent-color: #149A7A;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
}

input[type="radio"]:focus {
    outline: 2px solid #149A7A;
    box-shadow: 0 0 4px #149A7A44;
}

input[type="radio"]:disabled {
    accent-color: #ccc;
    cursor: not-allowed;
}

/* Niestandardowe radio z X w środku po zaznaczeniu */
p.data input[type="radio"] {
    position: relative;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 2px solid #149A7A;
    border-radius: 50%;
    outline: none;
    transition: border-color 0.2s;
    box-shadow: 0 0 0 2px #fff;
}

p.data input[type="radio"]:checked::before {
    content: 'X';
    color: #149A7A;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

p.data input[type="radio"]:focus {
    border-color: #264F62;
    box-shadow: 0 0 4px #149A7A44;
}

p.data input[type="radio"]:disabled {
    border-color: #ccc;
    background: #f0f0f0;
    cursor: not-allowed;
}

p.data input[type="radio"]:disabled:checked::before {
    color: #ccc;
}