:root {

--primary-color: #993333;

--primary-dark: #7a2929;

--text-color: #333;

--bg-color: #f0f0f0;

--box-bg: #ffffff;

--max-width-desktop: 1200px;

}


* {

box-sizing: border-box;

margin: 0;

padding: 0;

}


body {

font-family: 'Arial', sans-serif;

background-color: var(--bg-color);

color: var(--text-color);

line-height: 1.6;

min-height: 100vh;

display: flex;

flex-direction: column;

}


header, main {

width: 100%;

max-width: var(--max-width-desktop);

margin: 0 auto;

padding: 15px 20px;

}


h1 {

color: var(--primary-dark);

font-size: 2.2em;

margin-bottom: 10px;

border-bottom: 2px solid #ddd;

padding-bottom: 5px;

}


.checkout-content {

display: flex;

flex-direction: column; 

gap: 25px;

flex-grow: 1;

padding-bottom: 30px;

}


.left-column {

display: flex;

flex-direction: column;

gap: 25px;


}


.ticket-selection-box, .contact-form-box, .status-sidebar {

background: var(--box-bg);

padding: 25px;

border-radius: 8px;

box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

width: 100%; 

}


.status-sidebar h2 {

color: var(--primary-color);

margin-bottom: 15px;

font-size: 1.3em;

}


.status-info div {

padding: 5px 0;

border-bottom: 1px dashed #eee;

}

.status-info b {

color: var(--primary-dark);

font-weight: bold;

}


.ticket-selection-box h2, .contact-form-box h2 {

color: var(--primary-color);

margin-bottom: 15px;

font-size: 1.3em;

}


#btn-add-ticket {

background: var(--primary-color);

color: white;

border: none;

padding: 12px 15px;

margin-bottom: 10px;

border-radius: 4px;

font-size: 1em;

cursor: pointer;

transition: background-color 0.2s;

width: 100%;

font-weight: bold;

}

#btn-add-ticket:hover { background-color: var(--primary-dark); }


.ticket-row {

display: flex;

justify-content: space-between;

align-items: center;

padding: 10px 15px;

background: #fafafa;

border-left: 5px solid var(--primary-color);

margin-bottom: 8px;

border-radius: 4px;

}


.ticket-row > div {

display: flex;

align-items: center;

width: 100%;

}


.ticket-row select {

max-width: 200px;

padding: 8px 20px;

margin-right: 20px;

border: 1px solid #ccc;

border-radius: 6px;

background-color: #fcfcfc;

appearance: none;

background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23333' d='M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z'/%3E%3C/svg%3E");

background-repeat: no-repeat;

background-position: right 8px center;

background-size: 10px;

cursor: pointer;

transition: border-color 0.2s;

}


.ticket-row select:focus {

border-color: var(--primary-color);

outline: none;

box-shadow: 0 0 0 2px rgba(153, 51, 51, 0.2);

}


.ticket-row button {

width: 30px;

height: 30px;

background: transparent;

border: none;

border-radius: 4px;

color: #666;

font-size: 1.1em;

font-weight: normal;

cursor: pointer;

transition: all 0.2s ease;

margin-left: auto;

flex-shrink: 0;

padding: 0 5px;

line-height: 1;

}


.ticket-row button:hover {

color: var(--primary-color);

background-color: #ffeaea;

font-weight: bold;

}


.ticket-row button:active {

color: var(--primary-dark);

}


.discount-note {

font-size: 0.9em;

color: #666;

margin-top: 20px;

padding: 12px;

border: 1px solid #ddd;

background-color: #fff;

border-radius: 4px;

}


input[type="text"],

input[type="email"] {

width: 100%;

padding: 12px;

margin-bottom: 10px;

border: 1px solid #ccc;

border-radius: 4px;

box-sizing: border-box;

font-size: 1em;

}


#total-price {

font-size: 1.5em;

color: var(--primary-color);

font-weight: bold;

}


#btn-submit {

background: var(--primary-color);

color: white;

width: 100%;

padding: 16px;

font-size: 1.2em;

border: none;

border-radius: 4px;

cursor: pointer;

margin-top: 20px;

transition: background-color 0.2s;

font-weight: bold;

}

#btn-submit:hover:not(:disabled) { background-color: var(--primary-dark); }

#btn-submit:disabled {

background: #ccc;

cursor: not-allowed;

}


.site-footer {

width: 100%;

background-color: var(--primary-dark);

color: white;

padding: 15px 0;

margin-top: auto;

}


.footer-content {

max-width: var(--max-width-desktop);

margin: 0 auto;

padding: 0 20px;

text-align: center;

font-size: 0.9em;

}


.footer-links a {

color: white;

text-decoration: underline;

margin: 0 5px;

}

.footer-links a:hover {

text-decoration: none;

}


@media (min-width: 768px) {

.checkout-content {

flex-direction: row;

align-items: flex-start;

}



.status-sidebar {

flex: 1;

order: 1;

position: sticky;

top: 20px;

}



.left-column {

flex: 2;

order: 2;

}


#btn-add-ticket {

width: auto;

}

}

@media (max-width: 767px) {

.status-sidebar {

text-align: center;

}


.chart-container {

max-width: 280px;

margin: 0 auto 15px auto;

}

} 