.balance-container_pay_balance {
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  /*max-width: 500px;*/
  /*width: 100%;*/
  overflow: hidden;
  position: relative;

  margin-left: -30px;
  margin-right: -30px;
  margin-bottom: -30px;
}
        
.balance-header_pay_balance {
  background: #7cc440;
  padding: 30px;
  text-align: center;
  color: white;
  position: relative;
}
        
.balance-header_pay_balance::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px 20px 0;
  border-style: solid;
  border-color: #7cc440 transparent transparent;
}
        
.balance-icon_pay_balance {
  font-size: 48px;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}
        
.balance-title_pay_balance {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}
        
.balance-subtitle_pay_balance {
  font-size: 16px;
  opacity: 0.9;
}
        
.balance-content_pay_balance {
  padding: 40px 30px 30px;
}
        
.input-group_pay_balance {
  position: relative;
  margin-bottom: 30px;
}
        
.input-label_pay_balance {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}
        
.input-field_pay_balance {
  width: 100%;
  padding: 18px 50px 18px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 18px;
  transition: all 0.3s;
  color: #333;
  background: #fafafa;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}
        
.input-field_pay_balance:focus {
  outline: none;
  border-color: #7cc440;
  box-shadow: 0 0 0 3px rgba(124, 196, 64, 0.2);
  background: #fff;
}
        
.input-currency_pay_balance {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #7f8c8d;
  font-weight: 500;
}
        
.error-message_pay_balance {
  color: #e74c3c;
  min-height: 1.5em;
  margin: 8px 0 15px 5px;
  font-size: 14px;
  text-align: left;
  opacity: 0;
  height: 0;
  transition: all 0.3s;
}
        
.error-message_pay_balance.active_pay_balance {
  opacity: 1;
  height: auto;
}
        
.replenish-button_pay_balance {
  background: #7cc440;
  color: white;
  border: none;
  padding: 18px;
  font-size: 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(124, 196, 64, 0.4);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
        
.replenish-button_pay_balance:hover {
  background: #6bb030;
  box-shadow: 0 6px 20px rgba(124, 196, 64, 0.5);
}
        
.replenish-button_pay_balance:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(124, 196, 64, 0.4);
}
        
     
.info-note_pay_balance {
  margin-top: 25px;
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 20px;
}
        

        
.min-amount_pay_balance {
  display: inline-block;
  background: rgba(124, 196, 64, 0.1);
  color: #7cc440;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 600;
}
        
@media (max-width: 500px) {
  .balance-container_pay_balance {
    border-radius: 12px;
  }
            
  .balance-header_pay_balance {
    padding: 25px 20px;
  }
            
  .balance-content_pay_balance {
    padding: 35px 20px 25px;
  }
            
  .balance-title_pay_balance {
    font-size: 24px;
  }
            
  .input-field_pay_balance {
    padding: 16px 45px 16px 16px;
    font-size: 17px;
    box-sizing: border-box;
  }
            
  .replenish-button_pay_balance {
    padding: 16px;
    font-size: 17px;
  }
}






.payment-success-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  text-align: center;
  margin-left: -30px;
  margin-right: -30px;
  margin-bottom: -30px;
  display: none;
}
        
.payment-success-header {
  background: #7cc440;
  padding: 40px 30px 30px;
  color: white;
  position: relative;
}
        
.payment-success-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px 20px 0;
  border-style: solid;
  border-color: #7cc440 transparent transparent;
}
        
.success-icon-container {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
        
.success-icon {
  color: #7cc440;
  font-size: 60px;
}
        
.payment-success-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
        
.payment-success-subtitle {
  font-size: 18px;
  opacity: 0.95;
}
        
.payment-success-content {
  padding: 50px 30px 40px;
}
        
.payment-success-message {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 35px;
  line-height: 1.5;
}
        

        
@media (max-width: 500px) {
  .payment-success-container {
    border-radius: 15px;
  }
            
  .payment-success-header {
    padding: 30px 20px 25px;
  }
            
  .success-icon-container {
    width: 80px;
    height: 80px;
  }
            
  .success-icon {
    font-size: 45px;
  }
            
  .payment-success-title {
    font-size: 26px;
  }
            
  .payment-success-content {
    padding: 40px 20px 30px;
  }
}
        










.qr_balance_wrapper_qr {
  display: none;
}





/* СТИЛИ ДЛЯ ТЕГОВ СТАТУСОВ */
.status-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.5rem;
  padding: 12px 4px;
}


.tag-label {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
  
  /* Неактивное состояние */
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Анимация при переключении */
.tag-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  background: #f1f5f9;
}

/* Активное состояние */
.tag-label.active {
  background: #7cc440;
  color: white;
  border-color: #7cc440;
  box-shadow: 
    0 4px 8px rgba(124, 196, 64, 0.2),
    0 2px 4px rgba(124, 196, 64, 0.15);
  transform: translateY(-2px);
}


/*ТОВАР*/
.product-card_profiles {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

@media (max-width: 550px) {
  .product-card_profiles {
    display: grid;
  }
}
    
.product-card_profiles:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
    
.product-card_profiles.out-of-stock {
  background: rgba(255, 82, 82, 0.03);
}
    
.product-image_profiles {
  width: 100px;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
    
.product-image_profiles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
    
.product-card_profiles:hover .product-image_profiles img {
  transform: scale(1.05);
}
    
.product-details_profiles {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
    
.product-name_profiles {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
    
.product-properties_profiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.8rem;
  margin-top: 0.5rem;
}
    
.product-property_profiles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
    
.property-label_profiles {
  color: rgba(26, 26, 26, 0.7);
  font-size: 0.85rem;
}
    
.property-value_profiles {
  font-weight: 500;
  padding: 5px 0;
  transition: all 0.3s ease;
}
    
.property-input_profiles {
  box-sizing: border-box;
  width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #7cc440;
  font-family: inherit;
  font-size: 1rem;
  display: none;
}
    
.product-actions_profiles {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
}
    
.availability-btn_profiles {
  padding: 7px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}
    
.btn-not-available {
  background: rgba(255, 82, 82, 0.08);
  color: #ff5252;
}
    
.btn-not-available:hover {
  background: rgba(255, 82, 82, 0.15);
}
    
.btn-available {
  background: rgba(76, 175, 80, 0.08);
  color: #4caf50;
}
    
.btn-available:hover {
  background: rgba(76, 175, 80, 0.15);
}
    
.edit-controls_profiles {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  gap: 0.5rem;
}
    
.edit-btn_profiles, .save-btn_profiles, .cancel-btn_profiles {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: white;
  color: #1A1A1A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
    
.edit-btn_profiles:hover, .save-btn_profiles:hover, .cancel-btn_profiles:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}
    
.save-btn_profiles {
  background: #7cc440;
  color: white;
}
    
.cancel-btn_profiles {
  background: #f5f5f5;
  color: #777;
}



/* Блок информации о заказе*/
.order-info-block_profiles {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
    
.order-info-grid_profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}
    
.info-item_profiles {
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  border-radius: 8px;
  background: #F5F7F6;
}
    
.info-label_profiles {
  font-size: 0.8rem;
  color: rgba(26, 26, 26, 0.7);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
    
.info-label_profiles i {
  width: 16px;
  text-align: center;
  font-size: 0.85rem;
}
    
.info-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: #1A1A1A;
  word-break: break-word;
}
    
.vk-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #4A76A8;
  color: white;
  padding: 0.7rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  text-align: center;
}
    
.vk-button:hover {
  background: #42689a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(74, 118, 168, 0.2);
}
    
.vk-button i {
  font-size: 1.1rem;
}



/* Стили для кнопки добавления товара */
.section-header_profiles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
    
.btn-add-product_profiles {
  background: #7cc440;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}
    
.btn-add-product_profiles:hover {
  background: #6cb035;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(124, 196, 64, 0.3);
}
    
/* Стили для формы добавления товара */
.add-product-form_profiles {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: none;
}
    
.form-row_profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}
    
.form-group_profiles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
    
.form-label_profiles {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1A1A1A;
}
    
.form-input_profiles {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}
    
.form-input_profiles:focus {
  border-color: #7cc440;
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 196, 64, 0.15);
}
    
.file-upload_profiles {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}
    
.file-upload-input_profiles {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
    
.file-upload-label_profiles {
  display: block;
  padding: 0.8rem;
  background: #F5F7F6;
  border-radius: 8px;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
    
.file-upload-label_profiles:hover {
  background: rgba(124, 196, 64, 0.1);
  border-color: #7cc440;
}
    
.file-upload-label_profiles i {
  margin-right: 0.5rem;
  color: #7cc440;
}
    
.form-actions_profiles {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}
    
.btn-save_profiles, .btn-cancel_profiles {
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
    
.btn-save_profiles {
  background: #7cc440;
  color: white;
}
    
.btn-save_profiles:hover {
  background: #6cb035;
}
    
.btn-cancel_profiles {
  background: transparent;
  color: rgba(26, 26, 26, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
    
.btn-cancel_profiles:hover {
  background: rgba(0, 0, 0, 0.03);
}
    
.image-preview_profiles {
  width: 100px;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
  background: #F5F7F6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
    
.image-preview_profiles img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: none;
}
    
.image-preview_profiles .placeholder_profiles {
  color: rgba(0, 0, 0, 0.3);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
}



.btn-confirm_profiles {
  background: #7cc440;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  width: 100%;
}
    
.btn-confirm_profiles:hover {
  background: #6cb035;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(124, 196, 64, 0.3);
}
    
.btn-confirm_profiles i {
  transition: all 0.3s ease;
}
    
.btn-confirm_profiles:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
    
.btn-confirm_profiles:disabled:hover {
  background: #cccccc;
}








/* Модальное окно успеха и ошибки */
.overlay_profiles_res_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  backdrop-filter: blur(10px);
}
        
.overlay_profiles_res_modal.active {
  opacity: 1;
  visibility: visible;
}
        
.modal_profiles_res_modal {
  background: linear-gradient(145deg, #2c2f45, #1e2132);
  padding: 40px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 4px 20px rgba(255, 255, 255, 0.05);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  max-width: 90%;
  width: 450px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
        
.overlay_profiles_res_modal.active .modal_profiles_res_modal {
  transform: translateY(0) scale(1);
}
        
.modal_profiles_res_modal::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
        
.icon_profiles_res_modal {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}
        
.success_profiles_res_modal {
  background: linear-gradient(135deg, #00d2b5, #00c6a7);
  color: white;
}
        
.error_profiles_res_modal {
  background: linear-gradient(135deg, #ff7a75, #ff6b6b);
  color: white;
}
        
.overlay_profiles_res_modal.active .icon_profiles_res_modal {
  animation: iconPulse 0.6s ease-out;
}
        
@keyframes iconPulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
        
.title_profiles_res_modal {
  font-size: 2rem;
  margin-bottom: 15px;
  color: white;
  font-weight: 700;
  position: relative;
  z-index: 2;
}
        
.message_profiles_res_modal {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
}
        
.btn_profiles_res_modal {
  background: linear-gradient(135deg, #4a6fff, #6e8efb);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
        
.btn_profiles_res_modal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
}
        
.btn_profiles_res_modal:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
        
.btn_profiles_res_modal:hover::after {
  animation: shimmer 1.5s infinite;
}
        
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
        
.btn_profiles_res_modal:active {
  transform: translateY(0);
}
        
/* Анимация фона */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
        
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
        
/* Адаптивность */
@media (max-width: 600px) {
  .modal_profiles_res_modal {
    padding: 30px 20px;
    width: 95%;
  }
            
  .icon_profiles_res_modal {
    width: 80px;
    height: 80px;
    font-size: 40px;
  }
            
  .title_profiles_res_modal {
    font-size: 1.7rem;
  }      
}








/* Модальное окно подтверждения отправки автобусом */
.overlay_supplier_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
    overflow-y: auto; /* Прокрутка всего оверлея */
    padding: 20px 0; /* Вертикальные отступы */
    box-sizing: border-box;
}

.overlay_supplier_modal.active {
    opacity: 1;
    visibility: visible;
}

.modal_supplier_modal {
  height: fit-content;
    background: linear-gradient(145deg, #f0f4ff, #ffffff);
    padding: 40px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s;
    max-width: 90%;
    width: 500px;
    position: relative;
    overflow: visible; /* Важно: убираем внутреннюю прокрутку */
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 40px 0; /* Вертикальные отступы для прокрутки */
    box-sizing: border-box;
    min-height: auto; /* Сбрасываем минимальную высоту */
}

.overlay_supplier_modal.active .modal_supplier_modal {
    transform: translateY(0) scale(1);
}

/* Остальные стили остаются без изменений */
.modal_title_supplier_modal {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.modal_subtitle_supplier_modal {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.upload_area_supplier_modal {
    border: 3px dashed #3498db;
    border-radius: 20px;
    padding: 40px 20px;
    margin-bottom: 25px;
    background: rgba(236, 240, 253, 0.5);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.upload_area_supplier_modal:hover, 
.upload_area_supplier_modal.dragover {
    background: rgba(220, 230, 255, 0.7);
    border-color: #2980b9;
    transform: translateY(-5px);
}

.upload_icon_supplier_modal {
    font-size: 60px;
    color: #3498db;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.upload_text_supplier_modal {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.upload_hint_supplier_modal {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.file_input_supplier_modal {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.preview_container_supplier_modal {
    margin-top: 20px;
    display: none;
}

.preview_title_supplier_modal {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: left;
}

.image_preview_supplier_modal {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: none;
    max-height: 300px;
    object-fit: cover;
}

.btn_submit_supplier_modal {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    width: 100%;
    margin-top: 20px;
}

.btn_submit_supplier_modal:disabled {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    cursor: not-allowed;
}

.btn_submit_supplier_modal:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn_close_supplier_modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f7ff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    color: #7f8c8d;
    font-size: 1.2rem;
    z-index: 10;
}

.btn_close_supplier_modal:hover {
    transform: rotate(90deg);
    background: #e74c3c;
    color: white;
}

.file_info_supplier_modal {
    margin-top: 15px;
    padding: 12px;
    background: #edf2f7;
    border-radius: 12px;
    display: none;
    text-align: left;
}

.file_name_supplier_modal {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    word-break: break-all;
}

.file_size_supplier_modal {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.loading_spinner_supplier_modal {
    display: none;
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(52, 152, 219, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin_supplier_modal 1s linear infinite;
}

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

/* Адаптивность */
@media (max-width: 600px) {
    .modal_supplier_modal {
        padding: 30px 20px;
        width: 95%;
        margin: 20px 0; /* Уменьшаем отступы на мобильных */
    }
    
    .modal_title_supplier_modal {
        font-size: 1.5rem;
        padding-right: 30px;
    }
    
    .upload_icon_supplier_modal {
        font-size: 50px;
    }
    
    .upload_area_supplier_modal {
        padding: 30px 15px;
    }
    
    .btn_close_supplier_modal {
        top: 15px;
        right: 15px;
    }
}

