label {
    display: block;
    margin-bottom: 0.3rem;
}

input,
select,
textarea {
    border: 1px solid rgb(200, 200, 200);
    border-radius: 4px;
    outline: none;
    z-index: 2;
    position: relative;
}

input:not([type='checkbox']):not([type='radio']),
textarea {
    width: 100%;
}

input[type='submit'],
input[type='text'],
input[type='number'],
input[type='email'],
input[type='date'],
input[type='datetime-local'],
input[type='password'],
textarea,
select {
    min-height: 35px;
    margin-bottom: 10px;
    padding: 8px;
}

select {
    min-width: 220px;
}

input[type='submit'] {
    margin-bottom: 0;
}

input[type='checkbox'] {
    margin-right: 10px;
}

input[type='date'],
input[type='datetime-local'] {
    max-width: 220px;
}

textarea {
    min-width: 100%;
    max-width: 100%;
}

.inputBox {
    position: relative;
}

.input-dark {
    background-color: #444;
    border-color: transparent;
    color: #fff;
}

.input-dark:focus {
    color: #fff;
    background-color: #555;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.input-dark::-webkit-input-placeholder {
    color: #888;
}
.input-dark::-moz-placeholder {
    color: #888;
}
.input-dark:-ms-input-placeholder {
    color: #888;
}
.input-dark:-moz-placeholder {
    color: #888;
}

input[type='submit'] {
    cursor: pointer;
    width: auto;
}

.lightCheckbox {
    position: relative;
    min-width: 3rem !important;
    height: 1.5rem !important;
    min-height: 1.5rem !important;
    -webkit-appearance: none;
    background: #c6c6c6;
    outline: none;
    border-radius: 15px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
}

.lightCheckbox:checked[type='checkbox'] {
    background: #03a9f4;
}

.lightCheckbox:before {
    content: '';
    position: absolute;
    width: 1.5rem !important;
    height: 1.5rem !important;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
    transform: scale(1.1);
    background: #fff;
    transition: 0.4s;
}

.lightCheckbox:checked[type='checkbox']:before {
    left: 1.5rem;
}

.onlyBorderBottom {
    border: none !important;
    border-bottom: 1px solid rgb(200, 200, 200) !important;
    font-weight: 700;
}

.noBorder {
    border: none !important;
    font-weight: 700;
    width: fit-content !important;
}

.horizontalInput {
    display: flex;
}

.horizontalInput input,
.horizontalInput select {
    margin: 0 !important;
    margin-left: 10px !important;
}

.horizontalInput label {
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.file-input-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px; /* Możesz dostosować wysokość w zależności od potrzeb */
}

.file-input-hidden {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-drop-zone {
    border: 2px dashed #007bff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    color: #007bff;
    margin-top: 10px;
}

.file-drop-zone.dragover {
    background-color: #e0e0e0;
    border-color: #0056b3;
}

.file-list {
    margin-top: 10px;
    list-style-type: none;
    padding: 0;
}

.file-list li {
    margin: 5px 0;
    padding: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.file-list li:hover {
    background-color: #e0e0e0;
}
