.sygnalista-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
}

.sygnalista-form fieldset {
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid #e9ecef !important;
    transition: all 0.3s ease !important;
}

.sygnalista-form fieldset:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-1px) !important;
}

.sygnalista-form legend {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #6c757d;
    position: relative;
}

.sygnalista-form legend i {
    color: #6c757d;
    margin-left: 0.5rem;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating .form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-floating select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234155f1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
    appearance: none;
    cursor: pointer;
}

.form-floating select.form-control:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234155f1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

.form-floating .form-control:focus {
    border-color: #495057;
    box-shadow: 0 0 0 0.1rem rgba(73, 80, 87, 0.08);
    background: #ffffff;
}

.form-floating .form-control.border-danger {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.12);
}

.form-floating label {
    color: #6c757d;
    font-weight: 500;
    padding-left: 0.75rem;
}

.form-check {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.form-check:hover {
    background: rgba(108, 117, 125, 0.05);
}

.checkbox-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(65, 84, 241, 0.04);
    transition: all 0.3s ease;
}

.checkbox-section:hover {
    border-color: #495057;
    box-shadow: 0 2px 10px rgba(73, 80, 87, 0.08);
}

.checkbox-section .form-check {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.checkbox-section .form-check:last-child {
    margin-bottom: 0;
}

.checkbox-section .form-check:hover {
    background: #f8f9fa;
    border-color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 1px 6px rgba(73, 80, 87, 0.08);
}

.personal-data .form-check {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

.personal-data .form-check:hover {
    background: #e9ecef;
    border-color: #495057;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0;
    border: 2px solid #6c757d;
    border-radius: 4px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #495057;
    border-color: #495057;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem rgba(73, 80, 87, 0.12);
}

.form-check-label {
    font-weight: 500;
    color: #495057;
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin-top: 0;
    background-color: #e9ecef;
    border: 2px solid #ced4da;
    border-radius: 1rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 1.2rem 1.2rem;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: #495057;
    border-color: #495057;
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    transform: scale(1.02);
}

.form-switch .form-check-input:hover {
    border-color: #495057;
    box-shadow: 0 0 0 2px rgba(73, 80, 87, 0.1);
}

.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.25);
}

.form-switch .form-check-label {
    font-weight: 600;
    color: #495057;
    margin-left: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.form-switch .form-check-label:hover {
    color: #495057;
}

.category-checkbox-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.category-checkbox-item:hover {
    border-color: #495057;
    box-shadow: 0 2px 8px rgba(73, 80, 87, 0.1);
    transform: translateY(-1px);
}

.category-checkbox-item .form-check {
    margin: 0 !important;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.category-checkbox-item .form-check-input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    margin-right: 0.5rem !important;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.category-checkbox-item .form-check-label {
    margin: 0 !important;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    line-height: 1.4;
    flex-grow: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    min-height: 1rem;
}

.category-checkbox-item .form-check-label .document-content {
    flex: 1;
    display: flex !important;
    align-items: center !important;
    min-width: 0;
    white-space: normal !important;
    word-wrap: break-word;
}

.category-checkbox-item .form-check-label .download-link {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem;
    white-space: nowrap !important;
    margin-left: 0.5rem !important;
}

.document-content {
    display: flex !important;
    align-items: center !important;
    flex: 1;
    min-width: 0;
}

.download-link {
    color: #007bff !important;
    text-decoration: underline !important;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem;
}

.download-link:hover {
    color: #0056b3 !important;
    text-decoration: underline !important;
}

.category-checkbox-item .form-check-label:hover {
    color: #343a40;
}

.category-checkbox-item .form-check-label a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.category-checkbox-item .form-check-label a:hover {
    text-decoration: none;
    color: inherit;
}

.category-checkbox-item .form-check-label i {
    font-size: 1rem;
    color: #dc3545;
}

.category-checkbox-item .form-check-label a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    vertical-align: middle;
}

.category-checkbox-item .form-check-label a:hover {
    text-decoration: none;
    color: inherit;
}

.category-checkbox-item .form-check {
    align-items: center !important;
}

.category-checkbox-item .form-check-input {
    margin: 0 !important;
    margin-right: 0.5rem !important;
    flex-shrink: 0 !important;
}

.category-checkbox-item .form-check-label {
    display: flex !important;
    align-items: center !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-check-input {
    margin: 0;
    flex-shrink: 0;
}

.form-check-label {
    display: flex;
    align-items: center;
    line-height: 1.4;
    gap: 0.5rem;
}

.category-info-btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    margin-left: 0.4rem;
    flex-shrink: 0;
    border-color: #6c757d;
    color: #6c757d;
}

.category-info-btn:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
}

.btn {
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(65, 84, 241, 0.1);
}

.btn-primary.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(65, 84, 241, 0.15);
}

.modern-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(65, 84, 241, 0.04);
    border: 1px solid rgba(65, 84, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #495057, #6c757d, #495057);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 120px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 120px;
    max-width: 200px;
    max-height: 120px;
    padding: 1rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo-container:hover {
    box-shadow: 0 3px 12px rgba(73, 80, 87, 0.08);
    border-color: #495057;
    transform: translateY(-1px);
}

.company-logo {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.company-logo[style*="width"] {
    max-width: 120px;
    max-height: 80px;
}

.company-logo[style*="height"] {
    max-width: 80px;
    max-height: 120px;
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-fallback i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.form-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #2c3e50 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

.form-type-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 1rem 0 0 0;
    line-height: 1.3;
    background: linear-gradient(135deg, #2c3e50 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn.secondary {
    background: #ffffff;
    color: #6c757d;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.action-btn.secondary:hover {
    background: #f8f9fa;
    border-color: #495057;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(73, 80, 87, 0.08);
}

.action-btn.primary {
    background: linear-gradient(135deg, #495057 0%, #6c757d 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(73, 80, 87, 0.15);
}

.action-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(73, 80, 87, 0.2);
}

.action-btn i {
    font-size: 1.1rem;
}

@media (max-width: 1200px) {
    .header-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-info {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }

    .logo-container {
        min-width: 100px;
        min-height: 100px;
        max-width: 160px;
        max-height: 100px;
        padding: 0.75rem;
    }

    .company-logo {
        max-width: 80px;
        max-height: 80px;
    }

    .company-logo[style*="width"] {
        max-width: 100px;
        max-height: 60px;
    }

    .company-logo[style*="height"] {
        max-width: 60px;
        max-height: 100px;
    }

    .header-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .modern-header {
        padding: 2rem;
        border-radius: 16px;
    }

    .form-title {
        font-size: 1.75rem;
    }

    .form-type-title {
        font-size: 1.25rem;
    }

    .company-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-container {
        min-width: 80px;
        min-height: 80px;
        max-width: 120px;
        max-height: 80px;
        padding: 0.5rem;
    }

    .company-logo {
        max-width: 60px;
        max-height: 60px;
    }

    .company-logo[style*="width"] {
        max-width: 80px;
        max-height: 50px;
    }

    .company-logo[style*="height"] {
        max-width: 50px;
        max-height: 80px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

.navigation-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(65, 84, 241, 0.04);
    transition: all 0.3s ease;
}

.navigation-section:hover {
    border-color: #4154f1;
    box-shadow: 0 3px 12px rgba(65, 84, 241, 0.08);
}

.submit-section {
    background: linear-gradient(135deg, #4154f1 0%, #5969f3 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(65, 84, 241, 0.15);
    transition: all 0.3s ease;
    margin: 2rem 0;
    display: none;
}

.submit-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(65, 84, 241, 0.2);
}

.submit-section .btn {
    background: #ffffff;
    color: #4154f1;
    border: 2px solid #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 3rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.submit-section .btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: scale(1.05);
}

.btn-primary {
    background: linear-gradient(135deg, #4154f1 0%, #5969f3 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(65, 84, 241, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5969f3 0%, #4154f1 100%);
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(65, 84, 241, 0.2);
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-1px);
}

.getstarted_ {
    background: linear-gradient(135deg, #4154f1 0%, #5969f3 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(65, 84, 241, 0.15);
}

.getstarted_:hover {
    background: linear-gradient(135deg, #5969f3 0%, #4154f1 100%);
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(65, 84, 241, 0.2);
}

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background: linear-gradient(135deg, #4154f1 0%, #5969f3 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
}

.btn-close {
    filter: invert(1);
}

.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(73, 80, 87, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-box i {
    color: #495057;
    font-size: 1.1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.info-box .btn {
    color: #495057;
    border-color: #6c757d;
    background-color: transparent;
    transition: all 0.3s ease;
}

.info-box .btn:hover {
    color: #343a40;
    border-color: #495057;
    background-color: rgba(73, 80, 87, 0.05);
}

.info-box .btn i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.collapse .card {
    border-radius: 12px;
    border: 1px solid rgba(73, 80, 87, 0.15);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.collapse .card-body {
    padding: 1.5rem;
}

.collapse .card-body h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
}

.collapse .card-body p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.password {
    position: relative;
}

.password i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}

.password i:hover {
    color: #4154f1;
}

.section-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(65, 84, 241, 0.1);
}

.section-header h2 {
    color: #012970;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header small {
    color: #6c757d;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sygnalista-form {
        padding: 1rem;
        border-radius: 12px;
    }

    .sygnalista-form fieldset {
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }

    .section-header {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .progress-indicator {
        flex-direction: column;
        gap: 0.75rem;
    }

    .progress-step {
        min-width: auto;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .progress-step-icon {
        margin-bottom: 0;
        margin-right: 0.75rem;
    }

    .progress-step-label {
        font-size: 0.875rem;
    }

    .checkbox-section {
        padding: 1rem;
    }

    .checkbox-section .form-check {
        padding: 0.5rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sygnalista-form fieldset {
    animation: fadeInUp 0.6s ease-out;
}

.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #f8f9ff;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    min-width: 80px;
}

.progress-step-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.progress-step-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    line-height: 1.2;
}

.progress-step.active .progress-step-icon {
    background: #4154f1;
    color: white;
    box-shadow: 0 2px 8px rgba(65, 84, 241, 0.15);
}

.progress-step.active .progress-step-label {
    color: #4154f1;
    font-weight: 600;
}

.progress-step.completed .progress-step-icon {
    background: #28a745;
    color: white;
}

.progress-step.completed .progress-step-label {
    color: #28a745;
    font-weight: 600;
}

.form-floating.focused .form-control {
    border-color: #4154f1;
    box-shadow: 0 0 0 0.1rem rgba(65, 84, 241, 0.12);
}

.form-control.has-content {
    border-color: #28a745;
}

.form-control.has-content:focus {
    border-color: #4154f1;
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem rgba(65, 84, 241, 0.12);
}

.password .form-control {
    padding-right: 3rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: none;
    padding: 1.5rem 2rem 2rem;
}

.progress-step:hover {
    transform: scale(1.05);
    background: rgba(65, 84, 241, 0.05);
}

.progress-step:hover .progress-step-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
}

.btn-outline-info {
    border-color: #17a2b8;
    color: #17a2b8;
    background: transparent;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-info:hover {
    background: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-box ul li:before {
    content: '•';
    color: #4154f1;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.collapse {
    transition: all 0.3s ease;
}

.collapse.show {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-floating textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.required-sign {
    color: #dc3545;
    font-weight: bold;
}

.form-floating label {
    color: #6c757d;
}

.form-floating label:has(.required-sign),
.form-floating label:has(span:contains('*')) {
    color: #6c757d;
}

.required-sign,
.form-floating label span:contains('*') {
    color: #dc3545 !important;
    font-weight: bold;
}

.form-floating label {
    color: #6c757d;
}

.form-check-input:checked+.form-check-label {
    color: #4154f1;
    font-weight: 600;
}

.form-switch .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 2rem;
    transition: background-position .15s ease-in-out;
    border: 2px solid #e9ecef;
}

.form-switch .form-check-input:checked {
    background-color: #4154f1;
    border-color: #4154f1;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:focus {
    border-color: rgba(65, 84, 241, 0.25);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(65, 84, 241, 0.25);
}

.simple-checkbox .simple-checkbox-toggle,
.form-switch .form-check-input {
    border: 2px solid #e9ecef;
    transition: all 0.2s ease;
}

.simple-checkbox .simple-checkbox-input:checked+.simple-checkbox-toggle,
.form-switch .form-check-input:checked {
    background-color: #4154f1;
    border-color: #4154f1;
}

.form-switch .form-check-label {
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    padding-left: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.form-switch .form-check-input:checked+.form-check-label {
    color: #4154f1;
    font-weight: 600;
}

#step-2-content .form-check {
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#step-2-content .form-check:hover {
    background: rgba(65, 84, 241, 0.05);
}

#step-2-content .form-check .form-check-input {
    margin-top: 0.25rem;
}

#step-2-content .form-check .form-check-label {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    padding-left: 0.5rem;
}

#step-2-content .form-check .form-check-input:checked+.form-check-label {
    color: #4154f1;
    font-weight: 600;
}

#step-2-content .form-check .btn-outline-info {
    border-color: #17a2b8;
    color: #17a2b8;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

#step-2-content .form-check .btn-outline-info:hover {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #ffffff;
}

@media (max-width: 768px) {
    #step-2-content .form-check {
        padding: 0.5rem 0.75rem;
    }

    #step-2-content .form-check .form-check-label {
        font-size: 0.9rem;
    }
}

.sygnalista-form fieldset:hover legend {
    color: #4154f1;
}

.sygnalista-form #main-fieldset {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(65, 84, 241, 0.08) !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.sygnalista-form #main-fieldset:hover {
    box-shadow: 0 3px 12px rgba(65, 84, 241, 0.08) !important;
    transform: translateY(-2px) !important;
}

.sygnalista-form #main-fieldset legend {
    color: #012970 !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 3px solid #4154f1 !important;
    position: relative !important;
}

.sygnalista-form {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.sygnalista-form-container {
    display: block;
    padding: 0 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

#nextStep:not(#nextStep1):not(#nextStep2) {
    display: none !important;
}

.navigation-section {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    clear: both;
    position: relative;
    z-index: 1;
}

.submit-section {
    display: none;
}

.submit-section.show {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
    position: relative;
    display: block !important;
    animation: fadeInUp 0.6s ease-out;
    border: 1px solid #28a745;
}

legend {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    border-bottom: 2px solid #e9ecef !important;
    padding-bottom: 0.75rem !important;
}

legend i {
    color: #6c757d;
    font-size: 1.1rem;
}

.simple-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.simple-checkbox {
    display: flex;
    align-items: center;
}

.simple-checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    width: 100%;
}

.simple-checkbox-label:hover {
    background-color: #e9ecef;
}

.simple-checkbox-input {
    display: none;
}

.simple-checkbox-toggle {
    position: relative;
    width: 3rem;
    height: 1.5rem;
    background-color: #dee2e6;
    border-radius: 1rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.simple-checkbox-toggle::before {
    content: '';
    position: relative;
    left: 2px;
    width: 1rem;
    height: 1rem;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.simple-checkbox-input:checked+.simple-checkbox-toggle {
    background-color: #495057;
}

.simple-checkbox-input:checked+.simple-checkbox-toggle::before {
    transform: translateX(1.5rem);
    left: auto;
    right: 2px;
}

.simple-checkbox-input:focus+.simple-checkbox-toggle {
    box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.25);
}

.simple-checkbox-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
    flex: 1;
}

.personal-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.personal-data-field {
    min-width: 0;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #2c3e50;
    height: auto;
    min-height: 3.5rem;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating .form-control {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating label {
    padding: 1rem 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.form-control:focus {
    border-color: #495057;
    box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.15);
    background: #ffffff;
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #95a5a6;
    font-style: italic;
}

.form-floating select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.5rem !important;
    cursor: pointer !important;
    appearance: none !important;
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
}

.row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    display: flex;
    flex-wrap: wrap;
}

.col-md-4,
.col-md-6,
.col-md-12,
.col-lg-6,
.col-xxl-3,
.col-xxl-4 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 1rem;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-xxl-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-xxl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.personal-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.personal-data-grid .col-12 {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .personal-data-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.checkbox-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.checkbox-section .form-check {
    margin-bottom: 0;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

@media (max-width: 1200px) {

    .col-xxl-3,
    .col-xxl-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {

    .col-lg-6,
    .col-xxl-3,
    .col-xxl-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.form-label::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

legend::after,
.form-floating label::after {
    content: none !important;
}

.progress-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    gap: 1rem;
}

.progress-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #e9ecef 0%, #e9ecef 100%);
    z-index: 0;
    transform: translateY(-50%);
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #495057 0%, #6c757d 100%);
    opacity: 0.3;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    min-width: 80px;
    flex: 1;
}

.progress-step:hover {
    background: rgba(73, 80, 87, 0.1);
    transform: translateY(-1px);
}

.progress-step.active {
    background: rgba(73, 80, 87, 0.15);
}

.progress-step-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #95a5a6;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-step.active .progress-step-icon {
    background: #495057;
    color: #ffffff;
    border-color: #495057;
    box-shadow: 0 2px 8px rgba(73, 80, 87, 0.3);
    transform: scale(1.05);
}

.progress-step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7f8c8d;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.progress-step.active .progress-step-label {
    color: #495057;
    font-weight: 600;
}

.btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(73, 80, 87, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.3);
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
}

.submit-section {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.2);
    position: relative;
    border: 1px solid #28a745;
}

.submit-section .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: #ffffff;
    color: #28a745;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    border: 1px solid #ffffff;
}

.submit-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
    color: #20c997;
}

.password .form-control:focus {
    padding-right: 3rem;
}

.password i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    z-index: 10;
}

.password i:hover {
    color: #495057;
}

.modal .form-floating.password {
    position: relative;
}

.modal .form-floating.password i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    z-index: 10;
    font-size: 1.1rem;
}

.modal .form-floating.password i:hover {
    color: #495057;
}

.modal .form-floating.password .form-control {
    padding-right: 3rem;
}

.modal-dialog {
    max-width: 500px;
}

.modal-content {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .sygnalista-form {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 8px;
        max-width: 100%;
    }

    .personal-data-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .simple-checkboxes {
        padding: 1rem;
    }

    .simple-checkbox-label {
        padding: 0.5rem;
    }

    .simple-checkbox-toggle {
        width: 2.5rem;
        height: 1.25rem;
    }

    .simple-checkbox-toggle::before {
        width: 0.9rem;
        height: 0.9rem;
    }

    .simple-checkbox-input:checked+.simple-checkbox-toggle::before {
        right: 1px;
    }

    .simple-checkbox-input:checked+.simple-checkbox-toggle::before {
        transform: translateX(1.25rem);
    }

    .progress-indicator {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
        border-radius: 10px;
    }

    .progress-indicator::after {
        display: none;
    }

    .progress-step {
        min-width: auto;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
    }

    .progress-step-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }

    .progress-step-label {
        font-size: 0.85rem;
        text-align: left;
        font-weight: 500;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
    }

    .simple-checkbox-text {
        font-size: 0.9rem;
    }

    .personal-data-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    legend {
        font-size: 1.2rem !important;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .form-control {
        padding: 1rem;
        font-size: 1rem;
    }

    .submit-section {
        padding: 1.5rem;
    }

    .submit-section .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .form-check {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .form-check-input {
        width: 1.1rem;
        height: 1.1rem;
    }

    .form-check-label {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .category-checkbox-item {
        padding: 0.6rem;
    }

    .category-checkbox-item .form-check-label {
        font-size: 0.85rem;
        line-height: 1.2;
        min-height: 1rem;
    }

    .category-info-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }

    .validation-error,
    .category-error-message,
    .checkbox-error-message {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
}

@media (max-width: 480px) {
    .sygnalista-form {
        padding: 1rem;
        margin: 0.5rem;
    }

    .progress-indicator {
        padding: 1rem;
    }

    .checkbox-section {
        padding: 0.75rem;
    }

    .submit-section {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.875rem 1.25rem;
    }

    .category-checkbox-item {
        padding: 0.4rem;
    }

    .category-checkbox-item .form-check-label {
        font-size: 0.8rem;
        line-height: 1.1;
        min-height: 0.9rem;
    }

    .category-info-btn {
        padding: 0.15rem 0.3rem;
        font-size: 0.65rem;
    }
}

.progress-indicator {
    position: relative;
}

.progress-step {
    position: relative;
    z-index: 1;
}

.validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.validation-error.show {
    display: block;
    animation: shake 0.5s ease-in-out;
}

.category-error-message,
.checkbox-error-message {
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.form-check.border-danger {
    border: 2px solid #dc3545 !important;
    border-radius: 8px;
    padding: 0.5rem;
    background-color: rgba(220, 53, 69, 0.05);
}

.form-check a {
    text-decoration: none;
    color: #495057;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-check a:hover {
    color: #343a40;
    background-color: rgba(73, 80, 87, 0.05);
    text-decoration: none;
}

.form-check a i {
    font-size: 1.1rem;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.info-box ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.info-box ol li {
    counter-increment: item;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.info-box ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: #495057;
    font-weight: bold;
    background: rgba(73, 80, 87, 0.1);
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Prosty CSS dla układu dokumentów w jednej linii */
.category-checkbox-item .form-check-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.category-checkbox-item .form-check-label .document-content {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.category-checkbox-item .form-check-label .download-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.document-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.document-checkbox .form-check-input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    flex-shrink: 0;
}

.document-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex: 1;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    line-height: 1.4;
    margin: 0;
}

.document-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.document-content i {
    color: #dc3545;
    font-size: 1rem;
    flex-shrink: 0;
}

.download-link {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.download-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.download-link i {
    font-size: 0.875rem;
}

/* Style dla checkboxów kategorii w kroku 2 */
.category-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.category-checkbox .form-check-input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    flex-shrink: 0;
}

.category-label {
    display: flex;
    align-items: center;
    flex: 1;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    line-height: 1.4;
    margin: 0;
    min-height: 1rem;
}

.category-info-btn {
    flex-shrink: 0;
    margin-left: auto;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    z-index: 10;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: #495057;
}

.form-floating.password .form-control {
    padding-right: 3rem;
}

.form-floating.password {
    position: relative;
}

.form-floating.password .password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    z-index: 10;
    font-size: 1.1rem;
}

.form-floating.password .password-toggle:hover {
    color: #495057;
}

.password-toggle-main {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    z-index: 10;
    font-size: 1.1rem;
}

.password-toggle-main:hover {
    color: #495057;
}

.password-toggle-modal {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    z-index: 10;
    font-size: 1.1rem;
}

.password-toggle-modal:hover {
    color: #495057;
}

.main-password-container {
    position: relative;
}

.main-password-container .main-password-input {
    padding-right: 3rem;
}

/* Style dla kontenera hasła w modalu */
.modal-password-container {
    position: relative;
}

.modal-password-container .modal-password-input {
    padding-right: 3rem;
}

