.drone-registration-form {
    max-width: 1250px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.form-section h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    color: #555;
    font-weight: bold;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
        width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    height: 50px;
}

.form-group input:hover[type="text"],
.form-group input:hover[type="email"],
.form-group input:hover[type="tel"],
.form-group input:hover[type="date"],
.form-group select:hover {
        border: 2px solid #1A4EA2;

}

form-group input:focus[type="text"],
.form-group input:focus[type="email"],
.form-group input:focus[type="tel"],
.form-group input:focus[type="date"],
.form-group select:focus {
        border: 2px solid #1A4EA2;

}



.form-group input[type="radio"],
.form-group input[type="checkbox"] {
    margin-right: 10px;
}

.form-group label input[type="radio"],
.form-group label input[type="checkbox"] {
    margin-right: 5px;
    margin-bottom: 5px;
    transform: scale(1.2);
}

.conditional-fields {
    display: none;
}

.student-group {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 3px;
    background: white;
}

.student-group h4 {
    margin-top: 0;
    color: #007cba;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rodo-clause {
    max-height: 200px;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #ddd;
    margin-top: 10px;
    font-size: 0.9em;
    background: white;
    line-height: 1.4;
}

.rodo-clause p {
    margin-bottom: 10px;
}

.rodo-clause ol {
    padding-left: 20px;
}

.rodo-clause li {
    margin-bottom: 8px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 3px;
    margin-top: 10px;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 3px;
    margin-top: 10px;
    border: 1px solid #f5c6cb;
}

.loading {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 12px;
    border-radius: 3px;
    margin-top: 10px;
    border: 1px solid #bee5eb;
}

.button {
    background-color: #007cba;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #005a87;
}

.remove-student-btn {
    background-color: #dc3545;
    padding: 8px 15px;
    font-size: 14px;
}

.remove-student-btn:hover {
    background-color: #c82333;
}

.error-field {
    border-color: #dc3545 !important;
    background-color: #f8d7da;
}

.field-error {
    color: #dc3545;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Responsywność */
@media (max-width: 768px) {
    .drone-registration-form {
        padding: 10px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .student-group {
        padding: 10px;
    }
}

.event-details {
    margin-top: 10px;
    padding: 15px;
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
}

.event-info {
    font-size: 14px;
    line-height: 1.4;
}

.event-info strong {
    color: #0066cc;
}

/* Стили для админки */
.drone-event-metabox .form-group {
    margin-bottom: 15px;
}

.drone-event-metabox label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.drone-event-metabox input,
.drone-event-metabox select,
.drone-event-metabox textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Стили перенесенные из class-form-renderer.php */
.course-type-info {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.course-type-info h4 {
    margin: 0 0 10px 0;
    color: #0066cc;
}

.course-type-info ul {
    margin: 0;
    padding-left: 20px;
}

.course-type-info li {
    margin-bottom: 5px;
}

/* Стили для лучшего отображения множественной регистрации */
#multiple-students-fields {
    background: #f8f9fa;
    border-left: 4px solid #007cba;
}

#multiple-students-fields h3 {
    color: #007cba;
}

.student-group {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.student-group h4 {
    margin-top: 0;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.remove-student-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
}

.remove-student-btn:hover {
    background: #c82333;
}

#add-student-btn {
    background: #28a745;
    margin-top: 10px;
}

#add-student-btn:hover {
    background: #218838;
}

/* Стили для радиокнопок */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.radio-label:hover {
    border-color: #1A4EA2;
    background: #e7f3ff;
}

.radio-label input[type="radio"] {
    margin-right: 12px;
    margin-top: 2px;
    transform: scale(1.2);
}

.radio-text {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.license-type-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.license-type-checkboxes label {
    border-color: #1A4EA2;
    background: #e7f3ff;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa
}

.license-type-checkboxes label:has(input[type="checkbox"]:checked) {
    border-color: #007cba;
    background: #e7f3ff;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.license-type-checkboxes input[type="checkbox"]:checked + .checkbox-text {
    color: #1A4EA2;
}


.radio-label input[type="radio"]:checked + .radio-text {
    color: #1A4EA2;
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: #1A4EA2;
    background: #e7f3ff;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Стили для выбора метода ввода */
#multiple-students-fields .radio-group {
    margin-bottom: 20px;
}

/* Стили для полей типа прав */
#single-license-type-fields,
#multiple-license-type-fields {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #007cba;
    margin: 15px 0;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

#single-license-type-fields label,
#multiple-license-type-fields label {
    color: #007cba;
    font-weight: bold;
    font-size: 16px;
}

#single-license-type-fields select,
#multiple-license-type-fields select {
    width: 100%;
    border: 2px solid #007cba;
    background: white;
    font-size: 16px;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Стили для полей типа прав в таблице стилей */
#multiple-license-type-fields {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #007cba;
    margin-bottom: 15px;
}

#multiple-license-type-fields label {
    color: #0056b3;
    font-weight: bold;
}

#multiple-license-type-fields select {
    border-color: #007cba;
    background: white;
}

/* Style dla radio buttons w grupowej rejestracji */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.radio-label:hover {
    border-color: #1A4EA2;
    background: #e7f3ff;
}

.radio-label input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.radio-text {
    font-weight: 600;
    color: #333;
}

.radio-label input[type="radio"]:checked + .radio-text {
    color: #1A4EA2;
}

.radio-label input[type="radio"]:checked ~ .radio-text {
    color: #1A4EA2;
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: #1A4EA2;
    background: #e7f3ff;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Poprawki dla pola typu praw w grupie */
#multiple-license-type-fields {
    background: #e7f3ff;
    border-radius: 8px;
    border: 2px solid #007cba;
    margin: 15px 0;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

#multiple-license-type-fields label {
    color: #007cba;
    font-weight: bold;
   
}

#multiple-license-type-fields select {
    border: 2px solid #007cba;
    background: white;
    
    
}

/* Style dla podglądu pliku */
.file-preview {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 15px;
}

.file-preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.file-preview-table th {
    background: #007cba;
    color: white;
    padding: 8px;
    border: 1px solid #ddd;
    }

.file-preview-table td:first-child, th:first-child {
padding-left: 7px !important;
   text-align: center !important;
}

.file-preview-table td {
    padding: 8px;
    border: 1px solid #ddd;
    background: white;
}

.file-preview-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.file-preview-table .error-row {
    background: #f8d7da !important;
    color: #721c24;
}

.error-messages {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    margin-bottom: 15px;
}

.error-messages ul {
    margin: 0;
    padding-left: 20px;
}

/* Style dla sekcji pliku */
#multiple-file-fields {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #b3d9ff;
}

#multiple-file-fields .form-group {
    margin-bottom: 20px;
}

#preview-file-btn {
    background: #28a745;
}

#preview-file-btn:hover {
    background: #218838;
}

/* Style dla podsumowania pliku */
.file-summary {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #bee5eb;
    margin-top: 15px;
}

.file-summary h5 {
    margin: 0 0 10px 0;
    color: #0c5460;
}

.file-summary p {
    margin: 5px 0;
}

/* Style dla przycisku szablonu */
#download-template-btn {
    background: #6c757d;
    margin-right: 10px;
}

#download-template-btn:hover {
    background: #545b62;
}

/* Дополнительные стили для специфичных элементов */
.section-description {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.organizer-info,
.event-info {
    margin-top: 15px;
    padding: 15px;
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
}

.info-card h4 {
    margin-top: 0;
    color: #0066cc;
}

.info-content {
    margin-top: 10px;
}

.info-item {
    margin-bottom: 8px;
}

.info-item strong {
    color: #0066cc;
    min-width: 120px;
    display: inline-block;
}

/* Стили для input с кнопкой */
.input-with-button {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 800px;
}

.input-with-button .form-input {
    flex: 1;
    min-width: 200px;
}

.organizer-button {
    white-space: nowrap;
    padding: 10px 20px;
}

/* Сообщения о статусе */
.status-message,
.loading-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading-message {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Стили для кнопки со спиннером */
.button-spinner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media screen and (max-width: 600px) {
    .input-with-button {
    display: block;
   }
#verify_organizer  {
   margin-right: 0;
    width: 100%;
   }


}