/* ========================================
   ENHANCED PRODUCT FORM - DODATKOWE STYLE
   (Zachowuje neonowy styl istniejącego formularza)
   ======================================== */

/* Nagłówki sekcji formularza */
.form-section-header {
    color: #8a2be2;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.6);
    letter-spacing: 1px;
}

.form-section-header:first-of-type {
    margin-top: 0;
}

/* Radio buttons w stylu neonowym */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #00ffff;
    cursor: pointer;
}

.radio-label:hover {
    color: #00ffff;
}

/* File input w stylu neonowym */
.file-input {
    padding: 10px !important;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    color: #fff !important;
}

.file-input::-webkit-file-upload-button {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(138, 43, 226, 0.2));
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.file-input::-webkit-file-upload-button:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(138, 43, 226, 0.3));
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.file-input-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-style: italic;
}

/* ========================================
   MODAL POTWIERDZENIA - NEONOWY STYL
   ======================================== */

.confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.confirmation-modal.active {
    display: flex;
}

.confirmation-content {
    position: relative;
    max-width: 800px;
    width: 100%;
    background: rgba(10, 10, 30, 0.95);
    border: 2px solid #00ffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 0 50px rgba(0, 255, 255, 0.5),
        0 0 100px rgba(138, 43, 226, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.confirmation-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #00ffff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.confirmation-close:hover {
    background: rgba(0, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
    transform: rotate(90deg);
}

.confirmation-title {
    color: #00ffff;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.confirmation-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Dane w modalu */
.confirmation-data {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 30px;
    padding-right: 10px;
}

/* Custom scrollbar */
.confirmation-data::-webkit-scrollbar {
    width: 8px;
}

.confirmation-data::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.confirmation-data::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ffff, #8a2be2);
    border-radius: 4px;
}

.confirmation-data::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ffff, #8a2be2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.confirm-section {
    margin-bottom: 25px;
}

.confirm-section:last-child {
    margin-bottom: 0;
}

.confirm-section-title {
    color: #8a2be2;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.confirm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.confirm-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.confirm-item:hover {
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.confirm-label {
    color: #00ffff;
    font-size: 13px;
    font-weight: bold;
    min-width: 200px;
}

.confirm-value {
    color: #fff;
    font-size: 14px;
    text-align: right;
    word-break: break-word;
}

.confirm-value em {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Przyciski w modalu potwierdzenia */
.confirmation-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-confirm-add,
.btn-go-back,
.btn-cancel {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-confirm-add {
    background: linear-gradient(135deg, #00ffff, #8a2be2);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-confirm-add:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
}

.btn-confirm-add:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-go-back {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(138, 43, 226, 0.1));
    border: 2px solid #00ffff;
    color: #00ffff;
}

.btn-go-back:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(138, 43, 226, 0.2));
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   RESPONSIVE - MODAL POTWIERDZENIA
   ======================================== */

@media (max-width: 768px) {
    .confirmation-content {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .confirmation-title {
        font-size: 22px;
    }
    
    .confirmation-subtitle {
        font-size: 13px;
    }
    
    .confirm-label {
        min-width: 120px;
        font-size: 12px;
    }
    
    .confirm-value {
        font-size: 13px;
    }
    
    .confirm-grid {
        gap: 10px;
    }
    
    .confirm-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .confirm-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .confirmation-title {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .btn-confirm-add,
    .btn-go-back {
        font-size: 14px;
        padding: 12px;
    }
}
