/**
 * Clean Modal Button Improvements
 * Works with existing styles, enhances what's there
 */

/* Clean button foundation - enhance existing styles */
.esim-modal-footer button,
.esim-modal button {
    font-family: inherit;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-height: 44px;
    padding: 12px 24px;
}

/* Cancel button - subtle and clean */
.esim-modal button[class*="cancel"] {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.esim-modal button[class*="cancel"]:hover {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

/* Buy Now button - clear primary action */
.esim-modal button[class*="confirm"],
.esim-modal button[class*="buy"] {
    background: #10b981;
    color: white;
    border: 1px solid #10b981;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.esim-modal button[class*="confirm"]:hover,
.esim-modal button[class*="buy"]:hover {
    background: #059669;
    border-color: #059669;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

/* Disabled state - clear but not harsh */
.esim-modal button:disabled {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Focus states for accessibility */
.esim-modal button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .esim-modal-footer {
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .esim-modal-footer button {
        width: 100%;
    }
}