/* Triple Sale Mode Styles */
.tsm-triple-sale-container {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.tsm-triple-sale-container h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    text-align: center;
}

.tsm-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tsm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    gap: 8px;
}

.tsm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tsm-btn-whatsapp {
    background: #25d366;
    color: white;
}

.tsm-btn-whatsapp:hover {
    background: #128c7e;
}

.tsm-btn-cart {
    background: #0073aa;
    color: white;
}

.tsm-btn-cart:hover {
    background: #005a87;
}

.tsm-btn-form {
    background: #ff6b35;
    color: white;
}

.tsm-btn-form:hover {
    background: #e55a2b;
}

.tsm-icon-whatsapp::before {
    content: "📱";
    font-size: 16px;
}

.tsm-icon-cart::before {
    content: "🛒";
    font-size: 16px;
}

.tsm-icon-form::before {
    content: "📝";
    font-size: 16px;
}

/* Order Form Styles */
.tsm-order-form-container {
    margin: 30px 0;
    padding: 25px;
    background: #ffffff;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tsm-order-form-container h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    text-align: center;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.tsm-form {
    max-width: 500px;
    margin: 0 auto;
}

.tsm-form-row {
    margin-bottom: 15px;
}

.tsm-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.tsm-form-row input,
.tsm-form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.tsm-form-row input:focus,
.tsm-form-row textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
}

.tsm-form-row input[type="number"] {
    max-width: 100px;
}

.tsm-form-actions {
    margin-top: 20px;
    text-align: center;
}

.tsm-btn-submit {
    background: #28a745;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tsm-btn-submit:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

/* Modal Styles */
.tsm-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.tsm-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.tsm-modal-title {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.tsm-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.tsm-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tsm-modal-btn-pay {
    background: #28a745;
    color: white;
}

.tsm-modal-btn-pay:hover {
    background: #218838;
}

.tsm-modal-btn-simple {
    background: #6c757d;
    color: white;
}

.tsm-modal-btn-simple:hover {
    background: #5a6268;
}

/* Success Message */
.tsm-success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    margin: 15px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tsm-buttons-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .tsm-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .tsm-modal-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .tsm-modal-buttons {
        flex-direction: column;
    }
    
    .tsm-modal-btn {
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .tsm-triple-sale-container,
    .tsm-order-form-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .tsm-form {
        max-width: 100%;
    }
}
