/**
 * DST Exclusive Product - Modal Styles
 * 
 * Style dla modala potwierdzającego opróżnienie koszyka.
 *
 * © 2025 Dst Design Grzegorz Gensty. 
 */

/* Modal overlay */
.dst-exclusive-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
}

.dst-exclusive-modal.active {
    display: block;
}

.dst-exclusive-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dst-exclusive-modal.active .dst-exclusive-modal-overlay {
    opacity: 1;
}

/* Modal content */
.dst-exclusive-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.dst-exclusive-modal.active .dst-exclusive-modal-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.dst-exclusive-modal-content h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #000;
    font-weight: bold;
}

.dst-exclusive-modal-content p {
    margin: 0 0 25px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    font-weight: 500;
}

/* Modal buttons */
.dst-exclusive-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.dst-exclusive-modal-buttons .button {
    padding: 10px 20px;
    font-size: 16px;
    border: 0;
    border-radius: 100px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dst-exclusive-modal-buttons .dst-modal-confirm {
    background-color: #0071e3;
    color: #fff;
}

.dst-exclusive-modal-buttons .dst-modal-confirm:hover {
    background-color: #0063c7;
}

.dst-exclusive-modal-buttons .dst-modal-confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dst-exclusive-modal-buttons .dst-modal-cancel {
    background-color: #f1f1f1;
    color: #333;
}

.dst-exclusive-modal-buttons .dst-modal-cancel:hover {
    background-color: #e1e1e1;
}

/* Responsive */
@media (max-width: 600px) {
    .dst-exclusive-modal-content {
        padding: 20px;
        max-width: 95%;
    }
    
    .dst-exclusive-modal-content h3 {
        font-size: 20px;
    }
    
    .dst-exclusive-modal-content p {
        font-size: 14px;
    }
    
    .dst-exclusive-modal-buttons {
        flex-direction: column;
    }
    
    .dst-exclusive-modal-buttons .button {
        width: 100%;
    }
}


.dst-exclusive-modal-content p {
  /* color: #666; */
  color: #000;
  font-weight: 500;
}

.dst-exclusive-modal-content h3 {
  /* color: #333; */
  color: #000;
  font-weight: bold;
}

.dst-exclusive-modal-buttons .dst-modal-confirm {
  /* background-color: #0071a1; */
  background-color: #0071e3;
}

.dst-exclusive-modal-buttons .dst-modal-confirm:hover {
  /* background-color: #005177; */
  background-color: #0063c7;
}

/* Inline | https://suplementy.drbartek.pl/produkt/witamina-c/ */

.dst-modal {
  font-size: 16px;
  border: 0;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: bold;
}
