body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background: #f5f5f5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-right: 400px;
}

.form-section {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background: #fafafa;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-warning {
    background: #ffc107;
    color: black;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.cost-summary {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 350px;
    background: #f8f9fa;
    border: 2px solid #007bff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    overflow-y: auto;
}

.required {
    color: red;
}

.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.success {
    color: green;
    font-size: 14px;
    margin: 10px 0;
    padding: 10px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin: 10px 0;
    padding: 10px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.booth-option {
    display: inline-block;
    margin: 10px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    min-width: 520px;
}

.booth-option.selected {
    border-color: #007bff;
    background: #e7f3ff;
}

.booth-image {
    width: 500px;
    height: 400px;
    background: #f0f0f0;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 24px;
    color: #666;
}

.file-upload {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    margin: 10px 0;
    border-radius: 5px;
}

.file-upload.dragover {
    border-color: #007bff;
    background: #f0f8ff;
}

.tab-buttons {
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    margin-right: 10px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    cursor: pointer;
    border-radius: 4px;
}

.tab-button.active {
    background: #007bff;
    color: white;
}

.equipment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.equipment-table th,
.equipment-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.equipment-table th {
    background: #f8f9fa;
    font-weight: bold;
}

.discount-info {
    background: #d4edda;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
}

.form-table {
    width: 100%;
    border-collapse: collapse;
}

.form-table th,
.form-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.form-table th {
    background: #f8f9fa;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.instructions {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #2196f3;
}

.step {
    margin-bottom: 10px;
}

.conditional-field {
    margin-left: 20px;
    padding-left: 15px;
    border-left: 3px solid #007bff;
    background: #f8f9ff;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

.co-exhibitor {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    background: #f9f9f9;
}

.language-switch {
    margin-bottom: 20px;
}

.total-highlight {
    font-size: 18px;
    font-weight: bold;
    color: #dc3545;
    background: #fff3cd;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #ffc107;
}

.input-error {
    border-color: #dc3545 !important;
}

.field-error {
    border: 1px solid #dc3545;
    background: #f8f9fa;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal {
    background: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-success {
    color: #28a745;
}

.modal-error {
    color: #dc3545;
}

.modal-success .modal-title {
    color: #28a745;
}

.modal-error .modal-title {
    color: #dc3545;
}

.modal-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
}

.modal-success .modal-icon {
    color: #28a745;
}

.modal-error .modal-icon {
    color: #dc3545;
}

.modal-message {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.modal-error-list {
    text-align: left;
    margin-top: 15px;
}

.modal-error-list ul {
    margin: 0;
    padding-left: 20px;
}

.modal-error-list li {
    margin: 5px 0;
}

/* Style dla sekcji informacji o katalogu */
.catalog-links-simple {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-link {
    display: inline-block;
    background: white;
    color: #007bff;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-weight: 500;
}

.catalog-link:hover {
    text-decoration: none;
    border-color: #007bff;
}

@media (min-width: 768px) {
    .catalog-links-simple {
        flex-direction: row;
        gap: 15px;
    }
}

.equipment-group {
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.equipment-group h3 {
    margin: 0;
    padding: 12px 16px;
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #007bff;
    font-size: 16px;
    font-weight: bold;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
}

.equipment-group .equipment-table {
    margin-top: 0;
    border-top: none;
}

.equipment-group .equipment-table thead th {
    background: #ffffff;
    border-top: none;
}

/* Alternating row colors within groups */
.equipment-group .equipment-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.equipment-group .equipment-table tbody tr:hover {
    background-color: #e3f2fd;
    transition: background-color 0.2s ease;
}

.discount-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.discount-valid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.discount-invalid {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.discount-info {
    background: #d4edda;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
}
