* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: white;
    color: rgb(77, 79, 83);
    min-height: 100vh;
    padding: 20px;
}

footer {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    color: #6c757d;
    font-size: 14px;
    border-top: 1px solid #dee2e6;
}

footer a {
    color: #6c757d;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    
}

.header {
    width: 100%;    
    margin:auto
}

.germanmade {
    text-align: right;
}

.germanmade img {
    width: 160px;
}

.rotologo img {
    width: 120px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #e60014;
}

h3{
    color: black;
    margin-bottom: 1em;
}

h1 {
    margin-bottom: 30px;
    margin-top: 1em;
}

p {
    margin-bottom: 1em;
}

.guidelines {
    border: #4d4f53 1px solid;
    padding: 15px;
}

ul {
  list-style-type: square;
}

li {
  margin-left: 1em;
  margin-bottom: 0.5em;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 0px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    color: #495057;
    background-color: #fff;
    border-color: #b5b6b7;
    outline: 0;
    box-shadow: 0 0 0 .2rem #74767840;
}

textarea {
    resize: vertical;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 12px;
    background: #e60014;
    color: white;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: scale(1.05);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit.is-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-spinner 0.7s linear infinite;
}

.is-submitting input,
.is-submitting select,
.is-submitting textarea,
.is-submitting button,
.is-submitting .btn-delete {
    pointer-events: none;
}

.message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.loading {
    display: block;
    background-color: #f1f3f5;
    color: #495057;
    border: 1px solid #ced4da;
}

.message.loading::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: -2px;
    border: 2px solid rgba(73, 80, 87, 0.25);
    border-top-color: #495057;
    border-radius: 50%;
    animation: button-spinner 0.7s linear infinite;
}

.required {
    color: #e60014;
}

.file-preview-container {
    margin-top: 15px;
}

.file-preview-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    font-size: 14px;
}

.file-preview-table thead {
    background: #e9ecef;
}

.file-preview-table th {
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.file-preview-table td {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}

.file-preview-table tbody tr:hover {
    background: #f1f3f5;
}

.file-name {
    color: #495057;
    word-break: break-word;
}

.file-size {
    color: #6c757d;
    white-space: nowrap;
}

.file-action {
    text-align: center;
    width: 60px;
}

.file-warning{
    color: #dc3545;
    font-weight: 600;
    text-align: center;
    padding: 10px;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-delete:hover {
    background: #c82333;
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 13px;
}

@keyframes button-spinner {
    to {
        transform: rotate(360deg);
    }
}