body {
    font-family: Arial, sans-serif;
    background-color: #F2FBFF;
    color: #0C538A;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 10px;
    color: #0C538A;
}
.naglowek{
	font-weight: bold;
}
.stopka{
	padding: 10px;
	font-style: italic;
}
input[type="email"],
input[type="tel"],
textarea,
input[type="file"] {
    width: 95%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
textarea{
	max-width:95%;
	min-width:95%;
}
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group input[type="number"] {
    width: auto;
    display: inline-block;
    margin-right: 10px;
}
button {
    background-color: #0C538A;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #084a6e;
}

.listaPlikow {
	color: #ff0000;
	padding: 5px;
	font-style: italic;
	font-size: 0.875em;

}

#progressContainer {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

#progressBar {
    width: 100%;
    margin-right: 10px;
}

#progressPercent {
    width: 5%;
}
.hidden {
    display: none !important;
}

#sendingInfo {
    font-weight: bold;
    color: #007bff; /* Możesz zmienić na kolor swojej strony */
    padding: 10px 0;
}
/* Unikalny kontener listy plików */
.hb-form-files-box {
    margin: 15px 0;
    padding: 12px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

/* Nagłówek nad listą plików */
.hb-form-files-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
    color: #495057;
}

/* Unikalna lista UL */
#hbFormFileList {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Pojedynczy wiersz z plikiem (LI) */
#hbFormFileList li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #ffffff !important;
    padding: 8px 12px !important;
    margin-bottom: 6px !important;
    border: 1px solid #e9ecef !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    color: #212529 !important;
}

/* Przycisk usuwania (X) */
.hb-form-remove-btn {
    background: none !important;
    border: none !important;
    color: #dc3545 !important;
    font-weight: bold !important;
    font-size: 13px !important; 
    cursor: pointer !important;
    padding: 1px 5px !important; 
    margin-left: 5px !important; 
    border-radius: 3px !important;
    line-height: 1 !important;
    transition: background-color 0.2s, color 0.2s !important;
}

/* Efekt najechania myszką na przycisk usuwania */
.hb-form-remove-btn:hover {
    background-color: #f8d7da !important;
    color: #bd2130 !important;
}
#description {
    max-height: 340px !important; /* Blokuje rozciąganie powyżej ~20 wierszy */
    min-height: 100px !important; /* Opcjonalnie: minimalna wysokość, żeby nie schować pola całkowicie */
    resize: vertical !important;  /* Pozwala rozciągać TYLKO w pionie (blokuje rozciąganie w poziomie, które niszczy układ strony) */
}
